UNPKG

onecart-ui

Version:

OneCart UI: Cross-platform design tokens + React & React Native components

11 lines (10 loc) 2.22 kB
import React from 'react'; import { Svg, Path } from 'react-native-svg'; export const AssignmentTurnedIn = ({ size = 'md', color = 'currentColor', style, }) => { const sizeMap = { xs: 16, sm: 20, md: 24, lg: 32, xl: 40 }; const iconSize = typeof size === 'number' ? size : sizeMap[size]; return (React.createElement(Svg, { width: iconSize, height: iconSize, viewBox: "0 0 24 24", fill: "none", style: style }, React.createElement(Path, { d: "M19.000 8.000L17.590 6.580L11.000 13.170L8.410 10.590L7.000 12.000L11.000 16.000L19.000 8.000ZM20.000 2.000H15.820C13.400 2.840 12.300 2.000 11.000 2.000C9.700 2.000 8.600 2.840 8.180 4.000H4.000C5.860 2.000 5.730 2.010 5.600 2.040C5.210 2.120 4.860 2.320 4.590 2.590C4.410 2.770 4.260 2.990 4.160 3.230C4.060 3.460 4.000 3.720 4.000 4.000V20.000C2.000 20.270 2.060 20.540 2.160 20.780C2.260 21.020 2.410 21.230 2.590 21.420C2.860 21.690 3.210 21.890 3.600 21.970C3.730 21.990 3.860 22.000 4.000 22.000H18.000C21.100 20.000 22.000 19.100 22.000 18.000V6.000C20.000 4.900 19.100 4.000 18.000 4.000ZM11.000 3.750C11.410 3.750 11.750 4.090 11.750 4.500C11.750 4.910 11.410 5.250 11.000 5.250C10.590 5.250 10.250 4.910 10.250 4.500C10.250 4.090 10.590 3.750 11.000 3.750ZM18.000 20.000H4.000V6.000H18.000V20.000Z", fill: color }), React.createElement(Path, { d: "M5.571 19.143L5.236 18.805L3.667 20.374L3.050 19.760L2.714 20.095L3.667 21.048L5.571 19.143ZM5.810 17.714H4.814C4.714 17.438 4.452 17.238 4.143 17.238C3.833 17.238 3.571 17.438 3.471 17.714H2.476C2.443 17.714 2.412 17.717 2.381 17.724C2.288 17.743 2.205 17.790 2.140 17.855C2.098 17.898 2.062 17.950 2.038 18.007C2.014 18.062 2.000 18.124 2.000 18.191V21.524C2.000 21.588 2.014 21.652 2.038 21.710C2.062 21.767 2.098 21.817 2.140 21.862C2.205 21.926 2.288 21.974 2.381 21.993C2.412 21.998 2.443 22.000 2.476 22.000H5.810C6.071 22.000 6.286 21.786 6.286 21.524V18.191C6.286 17.929 6.071 17.714 5.810 17.714ZM4.143 17.655C4.240 17.655 4.321 17.736 4.321 17.833C4.321 17.931 4.240 18.012 4.143 18.012C4.045 18.012 3.964 17.931 3.964 17.833C3.964 17.736 4.045 17.655 4.143 17.655ZM5.810 21.524H2.476V18.191H5.810V21.524Z", fill: color }))); }; AssignmentTurnedIn.displayName = 'AssignmentTurnedIn';