UNPKG

onecart-ui

Version:

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

11 lines (10 loc) 2.4 kB
import React from 'react'; import { Svg, Path } from 'react-native-svg'; export const ContactMail = ({ 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: "M20.333 4.500H3.667C2.750 4.500 2.000 5.250 2.000 6.167V17.833C2.000 18.750 2.750 19.500 3.667 19.500H20.333C21.250 19.500 21.992 18.750 21.992 17.833L22.000 6.167C22.000 5.250 21.250 4.500 20.333 4.500ZM20.333 17.833H3.667V6.167H20.333V17.833ZM19.500 7.000H13.667V11.167H19.500V7.000ZM18.667 8.667L16.583 10.125L14.500 8.667V7.833L16.583 9.292L18.667 7.833V8.667ZM9.500 12.000C10.875 12.000 12.000 10.875 12.000 9.500C12.000 8.125 10.875 7.000 9.500 7.000C8.125 7.000 7.000 8.125 7.000 9.500C7.000 10.875 8.125 12.000 9.500 12.000ZM9.500 8.667C9.958 8.667 10.333 9.042 10.333 9.500C10.333 9.958 9.958 10.333 9.500 10.333C9.042 10.333 8.667 9.958 8.667 9.500C8.667 9.042 9.042 8.667 9.500 8.667ZM14.500 15.825C14.500 13.742 11.192 12.842 9.500 12.842C7.808 12.842 4.500 13.742 4.500 15.825V17.000H14.500V15.825ZM6.567 15.333C7.183 14.917 8.417 14.500 9.500 14.500C10.583 14.500 11.808 14.908 12.433 15.333H6.567Z", fill: color }), React.createElement(Path, { d: "M7.057 17.862H2.460C2.207 17.862 2.000 18.069 2.000 18.322V21.540C2.000 21.793 2.207 22.000 2.460 22.000H7.057C7.310 22.000 7.515 21.793 7.515 21.540L7.517 18.322C7.517 18.069 7.310 17.862 7.057 17.862ZM7.057 21.540H2.460V18.322H7.057V21.540ZM6.828 18.552H5.218V19.701H6.828V18.552ZM6.598 19.011L6.023 19.414L5.448 19.011V18.782L6.023 19.184L6.598 18.782V19.011ZM4.069 19.931C4.448 19.931 4.759 19.621 4.759 19.241C4.759 18.862 4.448 18.552 4.069 18.552C3.690 18.552 3.379 18.862 3.379 19.241C3.379 19.621 3.690 19.931 4.069 19.931ZM4.069 19.011C4.195 19.011 4.299 19.115 4.299 19.241C4.299 19.368 4.195 19.471 4.069 19.471C3.943 19.471 3.839 19.368 3.839 19.241C3.839 19.115 3.943 19.011 4.069 19.011ZM5.448 20.986C5.448 20.411 4.536 20.163 4.069 20.163C3.602 20.163 2.690 20.411 2.690 20.986V21.310H5.448V20.986ZM3.260 20.851C3.430 20.736 3.770 20.621 4.069 20.621C4.368 20.621 4.706 20.733 4.878 20.851H3.260Z", fill: color }))); }; ContactMail.displayName = 'ContactMail';