UNPKG

onecart-ui

Version:

OneCart UI: Cross-platform design tokens + React & React Native components

9 lines (8 loc) 955 B
import React from 'react'; export const Addchart = ({ size = 'md', color = 'currentColor', className, 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", xmlns: "http://www.w3.org/2000/svg", className: className, style: style }, React.createElement("path", { d: "M22.000 4.000V7.000H18.000V10.000H16.000V7.000H13.000V5.000H16.000V2.000H18.000V5.000H21.000ZM19.000 18.000H5.000V4.000H11.000V2.000H5.000C2.900 3.000 2.000 3.900 2.000 5.000V18.000C3.000 19.100 3.900 20.000 5.000 20.000H19.000C19.100 21.000 20.000 20.100 20.000 19.000V12.000H19.000V18.000ZM15.000 12.000V17.000H16.000V13.000H14.000ZM11.000 16.000H13.000V8.000H11.000V16.000ZM9.000 16.000V11.000H6.000V17.000H8.000Z", fill: color }))); }; Addchart.displayName = 'Addchart';