UNPKG

@react-three/uikit-lucide

Version:

lucide icons for r3/uikit

10 lines (9 loc) 2.57 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-torus" 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.180 3.025 C 8.695 3.224,6.574 3.990,4.787 5.333 C 4.219 5.760,3.396 6.546,2.981 7.060 C 1.990 8.284,1.349 9.702,1.092 11.236 C 0.993 11.828,0.993 13.172,1.092 13.764 C 1.341 15.253,1.977 16.683,2.912 17.860 C 3.213 18.239,3.905 18.945,4.320 19.296 C 5.783 20.536,7.597 21.382,9.635 21.777 C 10.491 21.943,10.924 21.980,12.000 21.980 C 13.076 21.980,13.509 21.943,14.365 21.777 C 16.403 21.382,18.217 20.536,19.680 19.296 C 20.102 18.939,20.792 18.234,21.093 17.852 C 21.842 16.903,22.457 15.676,22.735 14.578 C 22.935 13.791,22.975 13.441,22.975 12.500 C 22.975 11.559,22.935 11.209,22.735 10.422 C 22.439 9.253,21.763 7.947,20.954 6.980 C 19.178 4.859,16.547 3.478,13.560 3.099 C 13.078 3.038,11.592 2.992,11.180 3.025 M12.860 5.041 C 16.348 5.336,19.258 7.220,20.466 9.966 C 20.828 10.786,20.976 11.523,20.975 12.500 C 20.975 13.704,20.727 14.646,20.136 15.690 C 18.652 18.312,15.466 20.000,12.000 20.000 C 9.749 20.000,7.589 19.294,5.909 18.010 C 4.426 16.877,3.448 15.358,3.113 13.670 C 2.986 13.028,2.986 11.972,3.113 11.330 C 3.892 7.401,8.165 4.644,12.860 5.041 M11.300 8.045 C 10.526 8.142,9.755 8.441,9.176 8.870 C 8.655 9.257,8.334 9.679,8.128 10.247 C 8.037 10.500,8.022 10.603,8.022 11.000 C 8.022 11.397,8.037 11.500,8.128 11.753 C 8.279 12.171,8.459 12.454,8.780 12.781 C 9.264 13.275,9.874 13.621,10.600 13.815 C 12.325 14.275,14.165 13.864,15.220 12.783 C 15.542 12.453,15.721 12.170,15.872 11.753 C 15.963 11.500,15.978 11.397,15.978 11.000 C 15.978 10.603,15.963 10.500,15.872 10.247 C 15.666 9.679,15.345 9.257,14.824 8.870 C 13.904 8.188,12.599 7.883,11.300 8.045 M12.467 10.042 C 13.022 10.116,13.471 10.306,13.769 10.592 C 14.065 10.876,14.055 11.146,13.735 11.440 C 13.341 11.804,12.777 11.979,12.000 11.979 C 11.223 11.979,10.659 11.804,10.265 11.440 C 9.945 11.146,9.935 10.875,10.231 10.593 C 10.523 10.314,10.902 10.144,11.420 10.060 C 11.827 9.994,12.076 9.990,12.467 10.042 " stroke="none" fill="black" fill-rule="evenodd"></path></svg>`; export const TorusIcon = /*@__PURE__*/ forwardRef((props, ref) => { return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 }); }); export const Torus = TorusIcon;