UNPKG

onecart-ui

Version:

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

12 lines (11 loc) 790 B
import React from 'react'; import { Svg, Path } from 'react-native-svg'; export const AmpStories = ({ 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: "M5.636 2.000H2.000V22.000H5.636V2.000Z", fill: color }), React.createElement(Path, { d: "M5.636 2.000H2.000V22.000H5.636V2.000Z", fill: color }), React.createElement(Path, { d: "M2.000 22.000H15.333V2.000H2.000V22.000ZM4.667 4.667H12.667V19.333H4.667V4.667Z", fill: color }))); }; AmpStories.displayName = 'AmpStories';