onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
9 lines (8 loc) • 919 B
JavaScript
import React from 'react';
export const FolderCopy = ({ 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 18.364H17.455V20.182H2.000C2.818 18.364 2.000 17.545 2.000 16.545V6.545H2.000V18.364ZM20.182 6.545V12.909C22.000 13.909 21.182 14.727 20.182 14.727H7.455C4.636 16.545 3.818 15.727 3.818 14.727L3.827 4.727C3.827 3.727 4.636 2.909 5.636 2.909H10.182L13.818 2.909H20.182C19.364 4.727 20.182 5.545 20.182 6.545ZM5.636 14.727H18.364V6.545H11.245L11.245 2.909H7.455V12.909Z", fill: color })));
};
FolderCopy.displayName = 'FolderCopy';