UNPKG

@react-three/uikit-lucide

Version:

lucide icons for r3/uikit

10 lines (9 loc) 2.81 kB
import { jsx as _jsx } from "react/jsx-runtime"; /* eslint-disable no-shadow-restricted-names */ import { Icon } from "@react-three/uikit"; import { forwardRef } from "react"; const text = `<svg class="lucide lucide-donut" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11.200 1.024 C 11.123 1.033,10.880 1.060,10.660 1.083 C 8.799 1.284,6.918 2.041,5.323 3.229 C 4.709 3.686,3.642 4.755,3.194 5.360 C 2.039 6.919,1.374 8.521,1.076 10.460 C 0.951 11.267,0.950 12.740,1.073 13.540 C 1.447 15.976,2.495 18.063,4.197 19.763 C 5.107 20.672,5.944 21.271,7.100 21.840 C 8.878 22.715,10.725 23.093,12.607 22.966 C 14.680 22.826,16.454 22.226,18.126 21.097 C 18.794 20.647,19.094 20.394,19.762 19.724 C 21.211 18.269,22.146 16.612,22.644 14.620 C 23.000 13.195,23.057 11.513,22.798 10.082 C 22.651 9.265,22.552 9.060,22.200 8.850 C 21.900 8.670,21.592 8.668,21.194 8.843 C 20.538 9.131,19.912 9.009,19.446 8.503 C 19.102 8.129,19.041 7.890,19.077 7.060 C 19.091 6.733,19.022 6.529,18.828 6.326 C 18.614 6.103,18.430 6.033,17.961 5.998 C 17.354 5.951,17.019 5.816,16.650 5.467 C 16.241 5.081,16.040 4.615,16.040 4.063 C 16.041 3.688,16.102 3.428,16.262 3.120 C 16.496 2.670,16.387 2.102,16.011 1.815 C 15.722 1.594,14.599 1.271,13.580 1.115 C 13.083 1.039,11.566 0.981,11.200 1.024 M13.280 3.096 C 13.489 3.128,13.756 3.175,13.874 3.201 L 14.088 3.248 14.059 3.474 C 13.898 4.742,14.310 5.961,15.198 6.842 C 15.679 7.320,16.232 7.656,16.811 7.822 L 17.069 7.896 17.116 8.151 C 17.417 9.783,18.896 11.000,20.580 11.000 L 20.913 11.000 20.942 11.390 C 21.018 12.402,20.879 13.569,20.553 14.651 C 19.988 16.530,18.717 18.260,17.060 19.404 C 15.412 20.542,13.267 21.127,11.328 20.967 C 9.570 20.823,7.927 20.206,6.560 19.177 C 4.769 17.830,3.514 15.796,3.122 13.606 C 2.538 10.339,3.762 7.056,6.340 4.979 C 7.617 3.950,9.227 3.273,10.908 3.058 C 11.434 2.991,12.723 3.012,13.280 3.096 M11.358 8.061 C 10.230 8.237,9.143 8.974,8.569 9.953 C 7.320 12.083,8.233 14.785,10.512 15.704 C 12.558 16.528,14.877 15.538,15.704 13.488 C 16.090 12.530,16.090 11.469,15.705 10.516 C 15.172 9.197,14.001 8.269,12.605 8.058 C 12.144 7.989,11.816 7.990,11.358 8.061 M12.523 10.073 C 13.262 10.266,13.850 10.924,13.967 11.690 C 14.067 12.343,13.873 12.933,13.403 13.404 C 13.002 13.807,12.547 14.000,12.000 14.000 C 11.485 14.000,11.038 13.822,10.653 13.465 C 9.323 12.229,10.189 10.005,12.000 10.005 C 12.143 10.005,12.378 10.036,12.523 10.073 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`; export const DonutIcon = /*@__PURE__*/ forwardRef((props, ref) => { return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 }); }); export const Donut = DonutIcon;