UNPKG

onecart-ui

Version:

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

10 lines (9 loc) 1.32 kB
import React from 'react'; import { Svg, Path } from 'react-native-svg'; export const AlternateEmail = ({ 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: "M11.975 2.000C6.469 2.000 2.000 6.469 2.000 11.975C2.000 17.481 6.469 21.950 11.975 21.950H16.963V19.955H11.975C7.696 19.905 4.045 16.254 4.045 11.925C4.045 7.596 7.696 3.945 12.025 3.945C16.354 3.945 20.005 7.596 20.005 11.925V13.401C19.955 14.190 19.247 14.968 18.459 14.968C17.671 14.968 16.963 14.190 16.963 13.401V11.925C17.012 9.172 14.778 6.938 12.025 6.938C9.272 6.938 7.037 9.172 7.037 11.925C7.037 14.678 9.272 16.913 12.025 16.913C13.401 16.913 14.658 16.354 15.556 15.446C16.204 16.334 17.322 16.913 18.509 16.913C20.474 16.913 22.000 15.317 22.000 13.352V11.975C21.950 6.469 17.481 2.000 11.975 2.000ZM11.975 14.968C10.319 14.968 8.983 13.631 8.983 11.975C8.983 10.319 10.319 8.983 11.975 8.983C13.631 8.983 14.968 10.319 14.968 11.975C14.968 13.631 13.631 14.968 11.975 14.968Z", fill: color }))); }; AlternateEmail.displayName = 'AlternateEmail';