onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
10 lines (9 loc) • 781 B
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const Battery0Bar = ({ 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: "M17.000 3.000V21.000C15.000 21.550 14.550 22.000 14.000 22.000H6.000C7.450 20.000 7.000 19.550 7.000 19.000V5.000C5.000 4.450 5.450 4.000 6.000 4.000H8.000V2.000H12.000V4.000H14.000C16.550 2.000 17.000 2.450 17.000 3.000ZM15.000 4.000H9.000V18.000H15.000V4.000Z", fill: color })));
};
Battery0Bar.displayName = 'Battery0Bar';