onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
9 lines (8 loc) • 1.06 kB
JavaScript
import React from 'react';
export const NoEncryption = ({ 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: "M9.524 4.952C9.524 3.324 10.848 2.000 12.476 2.000C14.105 2.000 15.429 3.324 15.429 4.952V8.667H9.181L12.895 8.762H18.190V14.057L20.095 15.962V10.571C18.286 9.524 17.429 8.667 16.381 8.667H15.429V6.762C15.429 4.133 13.295 2.000 10.667 2.000C8.457 2.000 6.610 3.514 6.076 5.562L7.714 7.200V4.952ZM5.248 3.819L3.905 5.162L5.848 7.105C5.257 7.429 4.857 8.048 4.857 8.762V20.095C3.048 21.143 3.905 22.000 4.952 22.000H17.124L19.886 21.143L21.229 19.800L5.248 3.819ZM6.762 18.286V10.571H5.695L17.029 18.286H6.762Z", fill: color })));
};
NoEncryption.displayName = 'NoEncryption';