UNPKG

@react-three/uikit-lucide

Version:

lucide icons for r3/uikit

10 lines (9 loc) 1.62 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-pen" 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="M18.600 1.044 C 18.059 1.127,17.347 1.423,16.940 1.735 C 16.538 2.043,15.845 2.729,9.507 9.096 L 2.770 15.864 2.588 16.242 C 2.460 16.510,2.206 17.283,1.714 18.900 C 1.047 21.091,1.020 21.193,1.021 21.520 C 1.021 21.951,1.147 22.251,1.453 22.552 C 1.759 22.854,2.055 22.977,2.480 22.978 C 2.808 22.980,2.901 22.955,5.100 22.286 C 7.761 21.476,7.923 21.410,8.484 20.906 C 8.691 20.720,11.849 17.574,15.502 13.914 C 20.576 8.831,22.188 7.194,22.327 6.980 C 22.823 6.221,23.035 5.459,22.988 4.608 C 22.897 2.938,21.737 1.542,20.087 1.116 C 19.724 1.022,18.978 0.986,18.600 1.044 M19.568 3.045 C 20.070 3.152,20.563 3.530,20.791 3.984 C 21.066 4.531,21.066 5.104,20.791 5.660 C 20.687 5.872,19.869 6.704,13.869 12.708 C 9.088 17.491,7.011 19.544,6.883 19.612 C 6.674 19.722,3.329 20.742,3.293 20.707 C 3.269 20.682,4.233 17.459,4.348 17.180 C 4.397 17.059,6.081 15.352,11.257 10.174 C 18.551 2.876,18.227 3.184,18.740 3.056 C 18.998 2.993,19.301 2.988,19.568 3.045 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`; export const PenIcon = /*@__PURE__*/ forwardRef((props, ref) => { return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 }); }); export const Pen = PenIcon;