UNPKG

@react-three/uikit-lucide

Version:

lucide icons for r3/uikit

10 lines (9 loc) 2.71 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-shopping-cart" 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="M1.829 1.082 C 1.472 1.170,1.208 1.420,1.095 1.779 C 1.034 1.973,1.031 2.035,1.072 2.232 C 1.132 2.515,1.292 2.744,1.542 2.900 L 1.733 3.020 2.483 3.032 L 3.233 3.045 3.277 3.232 C 3.301 3.336,3.870 5.985,4.541 9.120 C 5.212 12.255,5.797 14.929,5.841 15.062 C 5.967 15.443,6.194 15.794,6.540 16.143 C 6.902 16.509,7.267 16.742,7.740 16.908 L 8.060 17.020 13.420 17.032 C 17.205 17.040,18.856 17.030,19.039 16.999 C 19.626 16.898,20.151 16.614,20.624 16.139 C 20.941 15.821,21.146 15.500,21.293 15.093 C 21.347 14.943,21.773 13.102,22.240 11.002 C 22.942 7.843,23.086 7.144,23.072 6.955 C 23.041 6.534,22.726 6.174,22.308 6.082 C 22.177 6.053,19.531 6.040,14.018 6.040 C 9.564 6.040,5.920 6.031,5.920 6.020 C 5.920 6.009,5.713 5.034,5.460 3.853 C 4.970 1.568,4.941 1.474,4.672 1.275 C 4.388 1.065,4.376 1.063,3.140 1.054 C 2.502 1.049,1.912 1.062,1.829 1.082 M20.826 8.130 C 20.814 8.180,20.497 9.603,20.121 11.293 C 19.746 12.983,19.404 14.435,19.361 14.519 C 19.261 14.714,19.004 14.934,18.806 14.994 C 18.595 15.057,8.573 15.060,8.346 14.997 C 8.177 14.950,7.866 14.687,7.778 14.517 C 7.748 14.458,7.424 13.017,7.059 11.315 C 6.695 9.613,6.386 8.180,6.374 8.130 L 6.351 8.040 13.600 8.040 L 20.849 8.040 20.826 8.130 M7.477 19.073 C 6.806 19.249,6.238 19.823,6.060 20.508 C 5.941 20.962,6.003 21.492,6.225 21.930 C 6.361 22.199,6.801 22.639,7.070 22.775 C 7.659 23.073,8.341 23.073,8.930 22.775 C 9.196 22.640,9.638 22.200,9.771 21.937 C 9.994 21.498,10.052 21.007,9.940 20.529 C 9.858 20.182,9.720 19.927,9.465 19.653 C 9.074 19.232,8.560 19.005,8.000 19.005 C 7.857 19.005,7.622 19.036,7.477 19.073 M18.477 19.073 C 17.806 19.249,17.238 19.823,17.060 20.508 C 16.941 20.962,17.003 21.492,17.225 21.930 C 17.361 22.199,17.801 22.639,18.070 22.775 C 18.659 23.073,19.341 23.073,19.930 22.775 C 20.196 22.640,20.638 22.200,20.771 21.937 C 20.994 21.498,21.052 21.007,20.940 20.529 C 20.858 20.182,20.720 19.927,20.465 19.653 C 20.074 19.232,19.560 19.005,19.000 19.005 C 18.857 19.005,18.622 19.036,18.477 19.073 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`; export const ShoppingCartIcon = /*@__PURE__*/ forwardRef((props, ref) => { return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 }); }); export const ShoppingCart = ShoppingCartIcon;