UNPKG

onecart-ui

Version:

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

11 lines (10 loc) 1.74 kB
import React from 'react'; import { Svg, Path } from 'react-native-svg'; export const CalendarMonth = ({ 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: "M17.000 4.000H16.000V2.000H14.000V4.000H6.000V2.000H4.000V4.000H3.000C3.890 2.000 3.010 2.900 3.010 4.000L3.000 18.000C3.000 19.100 3.890 20.000 5.000 20.000H19.000C18.100 22.000 19.000 21.100 19.000 20.000V4.000C21.000 2.900 20.100 2.000 19.000 2.000ZM19.000 18.000H5.000V8.000H19.000V18.000ZM19.000 6.000H5.000V4.000H19.000V6.000ZM9.000 12.000H7.000V10.000H9.000V12.000ZM13.000 12.000H11.000V10.000H13.000V12.000ZM17.000 12.000H15.000V10.000H17.000V12.000ZM9.000 16.000H7.000V14.000H9.000V16.000ZM13.000 16.000H11.000V14.000H13.000V16.000ZM17.000 16.000H15.000V14.000H17.000V16.000Z", fill: color }), React.createElement(Path, { d: "M5.294 17.765H5.059V17.294H4.588V17.765H2.706V17.294H2.235V17.765H2.000C2.209 17.294 2.002 17.506 2.002 17.765L2.000 21.059C2.000 21.318 2.209 21.529 2.471 21.529H5.765C5.553 22.000 5.765 21.788 5.765 21.529V17.765C6.235 17.506 6.024 17.294 5.765 17.294ZM5.765 21.059H2.471V18.706H5.765V21.059ZM5.765 18.235H2.471V17.765H5.765V18.235ZM3.412 19.647H2.941V19.177H3.412V19.647ZM4.353 19.647H3.882V19.177H4.353V19.647ZM5.294 19.647H4.824V19.177H5.294V19.647ZM3.412 20.588H2.941V20.118H3.412V20.588ZM4.353 20.588H3.882V20.118H4.353V20.588ZM5.294 20.588H4.824V20.118H5.294V20.588Z", fill: color }))); }; CalendarMonth.displayName = 'CalendarMonth';