UNPKG

onecart-ui

Version:

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

12 lines (11 loc) 1.38 kB
import React from 'react'; export const AddHomeWork = ({ size = 'md', color = 'currentColor', className, 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", xmlns: "http://www.w3.org/2000/svg", className: className, style: style }, React.createElement("path", { d: "M22.000 2.000H2.000V22.000H22.000V2.000Z", fill: color }), React.createElement("path", { d: "M22.000 10.110V2.000H7.000V3.970L9.000 5.400V2.000H20.000V8.680C20.750 9.040 21.430 9.520 22.000 10.110Z", fill: color }), React.createElement("path", { d: "M12.000 10.000H6.000V15.000H4.000V8.030L9.000 4.460L14.000 8.030V14.110C9.570 13.520 10.250 13.040 11.000 12.690V7.000L9.000 2.000L2.000 7.000V22.000H3.000V17.000H5.000V22.000H7.680C12.250 16.090 12.000 15.080 12.000 14.000V15.000Z", fill: color }), React.createElement("path", { d: "M22.000 12.000C22.000 6.480 17.520 2.000 12.000 2.000C6.480 2.000 2.000 6.480 2.000 12.000C2.000 17.520 6.480 22.000 12.000 22.000C17.520 22.000 22.000 17.520 22.000 12.000ZM11.000 18.000V13.000H6.000V11.000H11.000V6.000H13.000V11.000H18.000V13.000H13.000V18.000H11.000Z", fill: color }))); }; AddHomeWork.displayName = 'AddHomeWork';