onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
10 lines (9 loc) • 1.16 kB
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const Upcoming = ({ 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.600 10.810L16.190 9.400L19.750 5.850L21.160 7.260C21.050 7.290 17.600 10.810 17.600 10.810ZM13.000 3.000H11.000V8.000H13.000V3.000ZM6.400 10.810L7.810 9.400L4.260 5.840L2.840 7.260C2.950 7.290 6.400 10.810 6.400 10.810ZM20.000 14.000H16.580C15.810 15.760 14.040 17.000 12.000 17.000C9.960 17.000 8.190 15.760 7.420 14.000H4.000V19.000H20.000V14.000ZM20.000 12.000C21.100 12.000 22.000 12.900 22.000 14.000V19.000C22.000 20.100 21.100 21.000 20.000 21.000H4.000C2.900 21.000 2.000 20.100 2.000 19.000V14.000C2.000 12.900 2.900 12.000 4.000 12.000H9.000C9.000 13.660 10.340 15.000 12.000 15.000C13.660 15.000 15.000 13.660 15.000 12.000H20.000Z", fill: color })));
};
Upcoming.displayName = 'Upcoming';