@react-three/uikit-lucide
Version:
lucide icons for r3/uikit
10 lines (9 loc) • 2.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-superscript" 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="M17.380 4.057 C 16.430 4.245,15.622 4.839,15.224 5.642 C 14.982 6.129,14.946 6.400,15.081 6.713 C 15.193 6.973,15.454 7.211,15.705 7.281 C 16.230 7.428,16.671 7.214,16.940 6.680 C 17.154 6.254,17.528 6.000,17.940 6.000 C 18.327 6.000,18.741 6.265,18.905 6.618 C 19.075 6.982,19.017 7.251,18.694 7.599 C 18.437 7.877,18.096 8.091,17.168 8.559 C 16.115 9.089,15.667 9.482,15.352 10.149 C 15.125 10.630,15.029 11.104,15.024 11.760 C 15.020 12.282,15.024 12.306,15.131 12.489 C 15.256 12.702,15.449 12.864,15.670 12.943 C 15.889 13.021,20.111 13.021,20.330 12.943 C 20.551 12.864,20.744 12.702,20.869 12.489 C 20.964 12.328,20.980 12.256,20.980 12.000 C 20.980 11.746,20.963 11.672,20.872 11.516 C 20.761 11.327,20.571 11.158,20.373 11.070 C 20.292 11.034,19.820 11.015,18.702 11.000 L 17.145 10.980 17.275 10.831 C 17.365 10.729,17.583 10.593,17.973 10.395 C 19.151 9.799,19.594 9.521,20.035 9.102 C 20.716 8.454,21.034 7.706,20.987 6.860 C 20.949 6.168,20.743 5.630,20.324 5.132 C 19.900 4.627,19.315 4.251,18.720 4.102 C 18.354 4.011,17.722 3.989,17.380 4.057 M3.670 10.061 C 3.448 10.142,3.250 10.309,3.128 10.516 C 3.036 10.672,3.020 10.745,3.021 11.000 C 3.021 11.212,3.043 11.341,3.095 11.440 C 3.135 11.517,3.936 12.350,4.874 13.290 L 6.579 15.000 4.874 16.710 C 3.936 17.651,3.138 18.481,3.101 18.555 C 2.872 19.010,3.056 19.601,3.508 19.867 C 3.673 19.964,3.742 19.980,4.000 19.979 C 4.212 19.979,4.341 19.957,4.440 19.905 C 4.517 19.865,5.350 19.064,6.290 18.126 L 8.000 16.421 9.710 18.126 C 10.650 19.064,11.483 19.865,11.560 19.905 C 11.659 19.957,11.788 19.979,12.000 19.979 C 12.258 19.980,12.327 19.964,12.492 19.867 C 12.714 19.737,12.901 19.498,12.965 19.264 C 13.019 19.061,12.989 18.733,12.899 18.555 C 12.862 18.481,12.064 17.651,11.126 16.710 L 9.421 15.000 11.126 13.290 C 12.064 12.350,12.865 11.517,12.905 11.440 C 12.957 11.341,12.979 11.212,12.979 11.000 C 12.980 10.745,12.964 10.672,12.872 10.516 C 12.618 10.084,12.137 9.906,11.657 10.066 C 11.481 10.124,11.279 10.312,9.730 11.854 L 8.000 13.577 6.270 11.854 C 4.721 10.312,4.519 10.124,4.343 10.066 C 4.108 9.987,3.875 9.986,3.670 10.061 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`;
export const SuperscriptIcon = /*@__PURE__*/ forwardRef((props, ref) => {
return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 });
});
export const Superscript = SuperscriptIcon;