UNPKG

onecart-ui

Version:

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

9 lines (8 loc) 1.19 kB
import React from 'react'; export const PersonAdd = ({ 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: "M10.182 12.000C12.191 12.000 13.818 10.373 13.818 8.364C13.818 6.355 12.191 4.727 10.182 4.727C8.173 4.727 6.545 6.355 6.545 8.364C6.545 10.373 8.173 12.000 10.182 12.000ZM10.182 6.545C11.182 6.545 12.000 7.364 12.000 8.364C12.000 9.364 11.182 10.182 10.182 10.182C9.182 10.182 8.364 9.364 8.364 8.364C8.364 7.364 9.182 6.545 10.182 6.545ZM10.182 13.818C7.755 13.818 2.909 15.036 2.909 17.455V14.727H22.000V12.909C22.000 10.491 17.155 9.273 14.727 9.273ZM9.273 12.909C9.473 12.255 12.282 11.091 14.727 11.091C17.182 11.091 20.000 12.264 20.182 12.909H9.273ZM2.000 14.727V7.455H9.273V5.636H6.545V2.909H4.727V5.636H2.000V7.455H4.727V10.182H6.545Z", fill: color }))); }; PersonAdd.displayName = 'PersonAdd';