UNPKG

@react-three/uikit-lucide

Version:

lucide icons for r3/uikit

10 lines (9 loc) 2.84 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-file-diff" 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="M5.499 1.043 C 4.380 1.232,3.461 2.048,3.114 3.160 L 3.020 3.460 3.020 12.000 L 3.020 20.540 3.114 20.840 C 3.422 21.827,4.173 22.578,5.160 22.886 L 5.460 22.980 12.000 22.980 L 18.540 22.980 18.840 22.886 C 19.816 22.582,20.554 21.851,20.886 20.860 L 20.980 20.580 20.991 13.723 C 21.001 7.466,20.996 6.848,20.936 6.663 C 20.876 6.475,20.673 6.262,18.225 3.816 C 16.452 2.043,15.527 1.147,15.420 1.096 C 15.266 1.023,15.085 1.020,10.480 1.014 C 7.851 1.011,5.609 1.024,5.499 1.043 M16.790 5.210 L 19.000 7.420 19.000 13.764 C 19.000 19.023,18.991 20.138,18.945 20.290 C 18.872 20.533,18.707 20.740,18.484 20.872 L 18.300 20.980 12.000 20.980 L 5.700 20.980 5.516 20.872 C 5.415 20.813,5.284 20.700,5.225 20.623 C 4.985 20.308,5.000 20.888,5.000 12.022 C 5.000 2.888,4.974 3.632,5.304 3.303 C 5.619 2.988,5.320 3.006,10.220 3.003 L 14.580 3.000 16.790 5.210 M11.695 6.057 C 11.466 6.129,11.256 6.299,11.128 6.516 L 11.020 6.700 11.008 7.850 L 10.995 9.000 9.944 9.000 C 8.797 9.000,8.643 9.022,8.382 9.221 C 8.302 9.282,8.187 9.415,8.128 9.516 C 8.037 9.672,8.020 9.746,8.020 10.000 C 8.020 10.256,8.036 10.328,8.131 10.489 C 8.192 10.592,8.304 10.725,8.381 10.783 C 8.642 10.983,8.738 10.996,9.908 10.998 L 10.995 11.000 11.008 12.153 L 11.020 13.307 11.141 13.503 C 11.543 14.156,12.457 14.156,12.859 13.503 L 12.980 13.307 12.992 12.153 L 13.005 11.000 14.092 10.998 C 15.262 10.996,15.358 10.983,15.619 10.783 C 15.696 10.725,15.808 10.592,15.869 10.489 C 15.964 10.328,15.980 10.256,15.980 10.000 C 15.980 9.746,15.963 9.672,15.872 9.516 C 15.813 9.415,15.698 9.282,15.618 9.221 C 15.357 9.022,15.203 9.000,14.056 9.000 L 13.005 9.000 12.992 7.850 L 12.980 6.700 12.872 6.516 C 12.628 6.101,12.150 5.915,11.695 6.057 M8.695 16.057 C 8.466 16.129,8.256 16.299,8.128 16.516 C 8.037 16.672,8.020 16.746,8.020 17.000 C 8.020 17.256,8.036 17.328,8.131 17.489 C 8.256 17.702,8.449 17.864,8.670 17.943 C 8.891 18.022,15.109 18.022,15.330 17.943 C 15.551 17.864,15.744 17.702,15.869 17.489 C 15.964 17.328,15.980 17.256,15.980 17.000 C 15.980 16.746,15.963 16.672,15.872 16.516 C 15.740 16.293,15.533 16.128,15.290 16.055 C 15.030 15.977,8.945 15.979,8.695 16.057 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`; export const FileDiffIcon = /*@__PURE__*/ forwardRef((props, ref) => { return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 }); }); export const FileDiff = FileDiffIcon;