onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
9 lines (8 loc) • 1.04 kB
JavaScript
import React from 'react';
export const EventBusy = ({ 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: "M18.000 4.000H17.000V2.000H15.000V4.000H7.000V2.000H5.000V4.000H4.000C4.900 2.000 4.000 2.900 4.000 4.000V20.000C2.000 21.100 2.900 22.000 4.000 22.000H18.000C21.100 20.000 22.000 19.100 22.000 18.000V6.000C20.000 4.900 19.100 4.000 18.000 4.000ZM18.000 20.000H4.000V10.000H18.000V20.000ZM4.000 8.000V4.000H20.000V6.000H6.000ZM7.230 17.410L8.290 18.470L10.730 16.030L13.170 18.470L14.230 17.410L11.790 14.970L14.230 12.530L13.170 11.470L10.730 13.910L8.290 11.470L7.230 12.530L9.670 14.970L7.230 17.410Z", fill: color })));
};
EventBusy.displayName = 'EventBusy';