onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
10 lines (9 loc) • 853 B
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const CalendarToday = ({ 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: "M18.364 3.818H17.455V2.000H15.636V3.818H6.545V2.000H4.727V3.818H3.818C3.727 2.909 2.909 3.727 2.909 4.727V20.182C2.000 21.182 2.818 22.000 3.818 22.000H18.364C20.273 21.091 21.091 20.273 21.091 19.273V5.636C20.182 4.636 19.364 3.818 18.364 3.818ZM18.364 20.182H3.818V10.182H18.364V20.182ZM18.364 8.364H3.818V5.636H18.364V8.364Z", fill: color })));
};
CalendarToday.displayName = 'CalendarToday';