onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
10 lines (9 loc) • 863 B
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const CorporateFare = ({ 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: "M11.000 7.000V2.000H2.000V20.000H22.000V6.000H12.000ZM9.000 19.000H3.000V17.000H9.000V19.000ZM9.000 15.000H3.000V13.000H9.000V15.000ZM9.000 11.000H3.000V9.000H9.000V11.000ZM9.000 7.000H3.000V5.000H9.000V7.000ZM19.000 19.000H11.000V9.000H19.000V19.000ZM17.000 11.000H13.000V13.000H17.000V11.000ZM17.000 15.000H13.000V17.000H17.000V15.000Z", fill: color })));
};
CorporateFare.displayName = 'CorporateFare';