@react-three/uikit-lucide
Version:
lucide icons for r3/uikit
10 lines (9 loc) • 1.81 kB
JavaScript
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-pencil" 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.067 4.532,21.066 5.107,20.790 5.660 C 20.696 5.849,20.494 6.078,19.836 6.740 L 19.002 7.580 17.711 6.289 L 16.420 4.998 17.260 4.164 C 18.138 3.293,18.311 3.163,18.740 3.056 C 18.998 2.993,19.301 2.988,19.568 3.045 M16.300 7.720 L 17.580 9.000 12.322 14.258 C 8.659 17.921,7.009 19.545,6.882 19.612 C 6.674 19.722,3.329 20.742,3.293 20.707 C 3.269 20.682,4.233 17.457,4.348 17.180 C 4.398 17.060,5.725 15.707,9.696 11.730 C 12.602 8.820,14.988 6.440,15.000 6.440 C 15.011 6.440,15.596 7.016,16.300 7.720 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`;
export const PencilIcon = /*@__PURE__*/ forwardRef((props, ref) => {
return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 });
});
export const Pencil = PencilIcon;