UNPKG

onecart-ui

Version:

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

10 lines (9 loc) 1.06 kB
import React from 'react'; export const AddHome = ({ 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.206 4.877L18.110 10.055V10.055C20.067 10.055 20.838 10.170 21.563 10.389V8.904L11.206 2.000L2.000 8.904V21.563H11.988C10.493 22.000 10.262 21.229 10.147 20.412H4.301V10.055L11.206 4.877Z", fill: color }), React.createElement("path", { d: "M12.000 2.000C6.480 2.000 2.000 6.480 2.000 12.000C2.000 17.520 6.480 22.000 12.000 22.000C17.520 22.000 22.000 17.520 22.000 12.000C22.000 6.480 17.520 2.000 12.000 2.000ZM18.000 13.000H13.000V18.000H11.000V13.000H6.000V11.000H11.000V6.000H13.000V11.000H18.000V13.000Z", fill: color }))); }; AddHome.displayName = 'AddHome';