UNPKG

onecart-ui

Version:

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

11 lines (10 loc) 1.6 kB
import React from 'react'; import { Svg, Path } from 'react-native-svg'; export const EditCalendar = ({ 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: "M2.942 9.537H16.131V11.421H18.015V5.768C18.015 4.732 17.167 3.884 16.131 3.884H15.189V2.000H13.305V3.884H5.768V2.000H3.884V3.884H2.942C3.780 2.000 2.951 2.848 2.951 3.884L2.942 17.073C2.942 18.109 3.780 18.957 4.826 18.957H11.421V17.073H4.826V7.652ZM4.826 3.884H18.015V5.768H4.826V3.884ZM21.633 13.569L20.964 14.237L18.967 12.240L19.635 11.571C20.003 11.204 20.596 11.204 20.964 11.571L21.633 12.240C22.000 12.608 22.000 13.201 21.633 13.569ZM18.298 12.909L20.295 14.906L15.302 19.899H13.305V17.902L18.298 12.909Z", fill: color }), React.createElement(Path, { d: "M2.000 19.381H5.333V19.857H5.810V18.429C5.810 18.167 5.595 17.952 5.333 17.952H5.095V17.476H4.619V17.952H2.714V17.476H2.238V17.952H2.000C2.212 17.476 2.002 17.690 2.002 17.952L2.000 21.286C2.000 21.548 2.212 21.762 2.476 21.762H4.143V21.286H2.476V18.905ZM2.476 17.952H5.810V18.429H2.476V17.952ZM6.724 20.400L6.555 20.569L6.050 20.064L6.219 19.895C6.312 19.802 6.462 19.802 6.555 19.895L6.724 20.064C6.817 20.157 6.817 20.307 6.724 20.400ZM5.881 20.233L6.386 20.738L5.124 22.000H4.619V21.495L5.881 20.233Z", fill: color }))); }; EditCalendar.displayName = 'EditCalendar';