UNPKG

onecart-ui

Version:

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

10 lines (9 loc) 1.26 kB
import React from 'react'; export const AttachEmail = ({ 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: "M4.105 6.211L12.526 11.474L20.947 6.211V10.421H22.000V5.158C22.000 4.000 21.053 3.053 19.895 3.053H3.053C2.947 2.000 2.011 2.947 2.011 4.105L2.000 16.737C2.000 17.895 2.947 18.842 4.105 18.842H14.632V16.737H4.105V6.211ZM20.947 4.105L12.526 9.368L4.105 4.105H20.947Z", fill: color }), React.createElement("path", { d: "M18.667 3.667V13.667C15.333 15.500 13.833 17.000 12.000 17.000C10.167 17.000 8.667 15.500 8.667 13.667V2.833C12.000 2.367 12.367 2.000 12.833 2.000C13.300 2.000 13.667 2.367 13.667 2.833V13.667H13.667V6.167C13.667 3.867 11.800 2.000 9.500 2.000C7.200 2.000 5.333 3.867 5.333 6.167V10.333C8.667 14.017 11.650 17.000 15.333 17.000C19.017 17.000 22.000 14.017 22.000 10.333V7.000H15.333Z", fill: color }))); }; AttachEmail.displayName = 'AttachEmail';