onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
10 lines (9 loc) • 918 B
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const ChargingStation = ({ 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: "M14.273 11.091L11.545 16.545V12.909H9.727L12.455 7.455V11.091H14.273ZM16.545 3.818H7.455V4.727H16.545V3.818ZM16.545 19.273H7.455V20.182H16.545V19.273ZM16.545 2.000C17.545 2.000 18.364 2.818 18.364 3.818V20.182C18.364 21.182 17.545 22.000 16.545 22.000H7.455C6.455 22.000 5.636 21.182 5.636 20.182V3.818C5.636 2.818 6.455 2.000 7.455 2.000H16.545ZM7.455 17.455H16.545V6.545H7.455V17.455Z", fill: color })));
};
ChargingStation.displayName = 'ChargingStation';