UNPKG

onecart-ui

Version:

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

9 lines (8 loc) 870 B
import React from 'react'; export const SystemUpdate = ({ 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: "M16.536 2.009L7.445 2.000C6.445 2.000 5.627 2.818 5.627 3.818V20.173C5.636 21.173 6.455 21.991 7.455 21.991H16.545C17.536 22.000 18.355 21.182 18.355 20.182V3.809C18.364 2.809 17.545 2.000 16.545 2.000ZM16.545 18.355H7.455V5.627H16.545V18.355ZM15.636 12.900H12.909V8.355H11.091V12.900H8.364L11.991 16.545L15.627 12.909Z", fill: color }))); }; SystemUpdate.displayName = 'SystemUpdate';