UNPKG

onecart-ui

Version:

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

10 lines (9 loc) 1.16 kB
import React from 'react'; import { Svg, Path } from 'react-native-svg'; export const DomainAdd = ({ 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: "M10.182 6.545V2.000H2.000V18.364H14.727V16.545H11.091V14.727H12.909V12.909H11.091V11.091H12.909V9.273H11.091V7.455H18.364V12.909H20.182V5.636H11.091ZM4.727 17.455H2.909V15.636H4.727V17.455ZM4.727 13.818H2.909V12.000H4.727V13.818ZM4.727 10.182H2.909V8.364H4.727V10.182ZM4.727 6.545H2.909V4.727H4.727V6.545ZM8.364 17.455H6.545V15.636H8.364V17.455ZM8.364 13.818H6.545V12.000H8.364V13.818ZM8.364 10.182H6.545V8.364H8.364V10.182ZM8.364 6.545H6.545V4.727H8.364V6.545ZM21.091 17.455V18.364H20.182V20.182H18.364V18.364H16.545V16.545H18.364V14.727H20.182V16.545H22.000ZM15.636 10.182H13.818V12.000H15.636V10.182ZM15.636 13.818H13.818V15.636H15.636V13.818Z", fill: color }))); }; DomainAdd.displayName = 'DomainAdd';