onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
10 lines (9 loc) • 801 B
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const AccountTree = ({ 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: "M21.000 11.000V2.000H15.000V5.000H9.000V2.000H2.000V10.000H9.000V7.000H11.000V17.000H15.000V20.000H22.000V12.000H15.000V15.000H13.000V7.000H15.000V10.000H22.000ZM6.000 9.000H3.000V5.000H6.000V9.000ZM16.000 15.000H19.000V19.000H16.000V15.000ZM16.000 5.000H19.000V9.000H16.000V5.000Z", fill: color })));
};
AccountTree.displayName = 'AccountTree';