onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
10 lines (9 loc) • 845 B
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const ContentCopy = ({ size = 'md', color = 'currentColor', 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", style: style },
React.createElement(Path, { d: "M15.636 2.000H4.727C3.727 2.000 2.909 2.818 2.909 3.818V16.545H4.727V3.818H15.636V2.000ZM18.364 5.636H8.364C7.364 5.636 6.545 6.455 6.545 7.455V20.182C6.545 21.182 7.364 22.000 8.364 22.000H18.364C19.364 22.000 20.182 21.182 20.182 20.182V7.455C20.182 6.455 19.364 5.636 18.364 5.636ZM18.364 20.182H8.364V7.455H18.364V20.182Z", fill: color })));
};
ContentCopy.displayName = 'ContentCopy';