onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
10 lines (9 loc) • 656 B
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const Start = ({ 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: "M14.590 7.410L18.170 11.000H6.000V13.000H18.170L14.580 16.590L16.000 18.000L22.000 12.000L16.000 6.000L14.590 7.410ZM2.000 6.000V18.000H4.000V6.000H2.000Z", fill: color })));
};
Start.displayName = 'Start';