@react-three/uikit-lucide
Version:
lucide icons for r3/uikit
10 lines (9 loc) • 2.74 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-square-function" 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="M4.499 2.043 C 3.380 2.232,2.461 3.048,2.114 4.160 L 2.020 4.460 2.020 12.000 L 2.020 19.540 2.114 19.840 C 2.422 20.827,3.173 21.578,4.160 21.886 L 4.460 21.980 12.000 21.980 L 19.540 21.980 19.840 21.886 C 20.827 21.578,21.578 20.827,21.886 19.840 L 21.980 19.540 21.980 12.000 L 21.980 4.460 21.886 4.160 C 21.581 3.182,20.832 2.428,19.861 2.121 L 19.540 2.020 12.120 2.014 C 8.039 2.011,4.609 2.024,4.499 2.043 M19.310 4.061 C 19.589 4.144,19.856 4.411,19.939 4.690 C 19.993 4.870,20.000 5.755,20.000 12.001 C 20.000 17.907,19.991 19.138,19.945 19.290 C 19.872 19.533,19.707 19.740,19.484 19.872 L 19.300 19.980 12.000 19.980 L 4.700 19.980 4.516 19.872 C 4.415 19.813,4.284 19.700,4.225 19.623 C 3.986 19.309,4.000 19.795,4.000 12.022 C 4.000 5.758,4.007 4.870,4.061 4.690 C 4.140 4.421,4.412 4.143,4.673 4.063 C 4.964 3.974,19.009 3.971,19.310 4.061 M13.740 6.002 C 12.645 6.172,11.753 6.815,11.270 7.782 C 10.987 8.348,10.846 8.934,10.811 9.690 L 10.788 10.200 9.840 10.200 C 8.805 10.200,8.639 10.225,8.382 10.421 C 8.302 10.482,8.187 10.615,8.128 10.716 C 8.037 10.872,8.020 10.946,8.020 11.200 C 8.020 11.456,8.036 11.528,8.131 11.689 C 8.192 11.792,8.304 11.925,8.381 11.983 C 8.639 12.180,8.745 12.196,9.810 12.198 L 10.800 12.200 10.799 13.330 C 10.798 14.783,10.755 15.099,10.509 15.466 C 10.292 15.791,9.744 16.000,9.109 16.000 C 8.668 16.000,8.326 16.180,8.128 16.516 C 8.037 16.672,8.020 16.746,8.020 17.000 C 8.020 17.257,8.036 17.327,8.133 17.492 C 8.263 17.714,8.502 17.901,8.736 17.965 C 8.838 17.993,9.066 18.001,9.340 17.987 C 11.085 17.895,12.252 17.027,12.639 15.533 C 12.772 15.019,12.797 14.680,12.799 13.410 L 12.800 12.200 13.850 12.200 C 14.871 12.199,14.906 12.197,15.100 12.105 C 15.481 11.924,15.688 11.605,15.688 11.200 C 15.688 10.815,15.493 10.497,15.140 10.306 C 14.989 10.225,14.919 10.219,13.884 10.208 L 12.788 10.195 12.814 9.774 C 12.898 8.398,13.419 7.898,14.685 7.979 C 15.173 8.010,15.352 7.975,15.591 7.802 C 16.234 7.336,16.067 6.290,15.314 6.060 C 15.057 5.981,14.098 5.946,13.740 6.002 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`;
export const SquareFunctionIcon = /*@__PURE__*/ forwardRef((props, ref) => {
return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 });
});
export const SquareFunction = SquareFunctionIcon;