onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
15 lines (14 loc) • 1.55 kB
JavaScript
import React from 'react';
export const AssuredWorkload = ({ 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: "M21.048 6.762L11.524 2.000L2.000 6.762V7.714H22.000V5.810ZM7.210 5.810L12.476 3.181L17.743 5.810H7.210Z", fill: color }),
React.createElement("path", { d: "M7.714 2.000H2.000V22.000H7.714V2.000Z", fill: color }),
React.createElement("path", { d: "M7.714 2.000H2.000V22.000H7.714V2.000Z", fill: color }),
React.createElement("path", { d: "M22.000 2.000V2.000H12.533V9.244L16.978 7.022Z", fill: color }),
React.createElement("path", { d: "M2.000 6.842V22.000H2.000C14.832 8.274 14.716 7.568 14.674 6.842H2.000Z", fill: color }),
React.createElement("path", { d: "M10.000 2.000L2.000 6.000V7.100C6.000 12.140 9.420 16.860 14.000 18.000C18.580 16.860 22.000 12.140 22.000 7.100V6.000L10.000 2.000ZM8.560 16.000L4.500 11.940L6.620 9.820L8.560 11.760L13.380 7.000L15.500 9.120L8.560 16.000Z", fill: color }),
React.createElement("path", { d: "M7.556 20.203L4.778 18.814L2.000 20.203V22.000H6.314V21.444ZM2.000 21.444L3.536 20.678L5.072 21.444H2.000Z", fill: color })));
};
AssuredWorkload.displayName = 'AssuredWorkload';