@react-three/uikit-lucide
Version:
lucide icons for r3/uikit
10 lines (9 loc) • 2.55 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-code" 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 M9.641 8.565 C 9.587 8.586,9.482 8.650,9.409 8.706 C 9.267 8.814,7.254 11.304,7.107 11.553 C 6.983 11.762,6.983 12.238,7.107 12.447 C 7.210 12.622,9.227 15.142,9.365 15.268 C 9.597 15.481,10.065 15.557,10.363 15.431 C 10.563 15.346,10.789 15.137,10.891 14.944 C 10.994 14.745,11.010 14.331,10.921 14.120 C 10.889 14.043,10.506 13.535,10.071 12.990 L 9.280 12.000 10.071 11.010 C 10.506 10.466,10.889 9.957,10.921 9.880 C 11.010 9.669,10.994 9.255,10.891 9.056 C 10.791 8.866,10.563 8.654,10.374 8.575 C 10.224 8.512,9.788 8.506,9.641 8.565 M13.617 8.575 C 13.142 8.789,12.885 9.367,13.060 9.826 C 13.105 9.943,13.427 10.382,13.926 11.006 L 14.720 12.000 13.926 12.994 C 13.427 13.618,13.105 14.057,13.060 14.174 C 12.883 14.637,13.146 15.223,13.620 15.424 C 13.935 15.557,14.397 15.486,14.635 15.268 C 14.773 15.142,16.790 12.622,16.893 12.447 C 17.028 12.218,17.017 11.761,16.871 11.520 C 16.656 11.165,14.703 8.783,14.527 8.661 C 14.376 8.556,14.314 8.539,14.047 8.530 C 13.849 8.523,13.696 8.539,13.617 8.575 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`;
export const SquareCodeIcon = /*@__PURE__*/ forwardRef((props, ref) => {
return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 });
});
export const SquareCode = SquareCodeIcon;