onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
9 lines (8 loc) • 776 B
JavaScript
import React from 'react';
export const Security = ({ 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: "M11.000 2.000L2.000 6.000V10.000C4.000 15.550 7.840 20.740 13.000 22.000C18.160 20.740 22.000 15.550 22.000 10.000V6.000L11.000 2.000ZM11.000 12.990H18.000C19.470 15.110 16.720 18.780 13.000 19.930V13.000H4.000V7.300L11.000 4.190V10.990Z", fill: color })));
};
Security.displayName = 'Security';