onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
12 lines (11 loc) • 986 B
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const AddBusiness = ({ 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: "M22.000 2.000H2.000V4.667H22.000V2.000Z", fill: color }),
React.createElement(Path, { d: "M15.684 18.842H17.789V15.684H18.842V13.579L17.789 8.316H2.000L2.000 12.526V15.684H2.000V22.000H11.474V15.684H15.684V18.842ZM9.368 19.895H4.105V15.684H9.368V19.895ZM3.095 13.579L3.726 10.421H16.063L17.747 12.526H4.147Z", fill: color }),
React.createElement(Path, { d: "M22.000 9.500H14.500V2.000H9.500V9.500H2.000V14.500H9.500V22.000H14.500V14.500H22.000V9.500Z", fill: color })));
};
AddBusiness.displayName = 'AddBusiness';