onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
11 lines (10 loc) • 1.05 kB
JavaScript
import React from 'react';
export const Report = ({ 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: "M2.000 2.000H7.714V22.000H2.000V2.000Z", fill: color }),
React.createElement("path", { d: "M10.289 2.000H2.000L2.000 2.000V16.144L2.000 22.000H10.289L22.000 10.289V7.856L10.289 2.000ZM13.922 15.222L9.367 19.778H2.922L4.222 9.367V8.778L2.922 4.222H9.367L19.778 2.922V15.222Z", fill: color }),
React.createElement("path", { d: "M12.000 22.000C17.522 22.000 22.000 17.522 22.000 12.000C22.000 6.478 17.522 2.000 12.000 2.000C6.478 2.000 2.000 6.478 2.000 12.000C2.000 17.522 6.478 22.000 12.000 22.000Z", fill: color })));
};
Report.displayName = 'Report';