UNPKG

onecart-ui

Version:

OneCart UI: Cross-platform design tokens + React & React Native components

9 lines (8 loc) 1.08 kB
import React from 'react'; export const Domain = ({ 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 7.000V2.000H2.000V20.000H22.000V6.000H12.000ZM5.000 19.000H3.000V17.000H5.000V19.000ZM5.000 15.000H3.000V13.000H5.000V15.000ZM5.000 11.000H3.000V9.000H5.000V11.000ZM5.000 7.000H3.000V5.000H5.000V7.000ZM9.000 19.000H7.000V17.000H9.000V19.000ZM9.000 15.000H7.000V13.000H9.000V15.000ZM9.000 11.000H7.000V9.000H9.000V11.000ZM9.000 7.000H7.000V5.000H9.000V7.000ZM19.000 19.000H11.000V17.000H13.000V15.000H11.000V13.000H13.000V11.000H11.000V9.000H19.000V19.000ZM17.000 11.000H15.000V13.000H17.000V11.000ZM17.000 15.000H15.000V17.000H17.000V15.000Z", fill: color }))); }; Domain.displayName = 'Domain';