onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
10 lines (9 loc) • 716 B
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const LocalBar = ({ 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: "M15.078 8.667L12.000 12.122L8.922 8.667H15.078ZM22.000 2.000H2.000V4.222L10.889 14.222V19.778H5.333V22.000H18.667V19.778H13.111V14.222L22.000 4.222V2.000ZM6.922 6.444L4.956 4.222H19.056L17.078 6.444H6.922Z", fill: color })));
};
LocalBar.displayName = 'LocalBar';