UNPKG

onecart-ui

Version:

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

10 lines (9 loc) 968 B
import React from 'react'; import { Svg, Path } from 'react-native-svg'; export const AddPhotoAlternate = ({ 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: "M17.238 20.095H3.905V6.762H12.476V4.857H3.905C3.810 3.905 2.952 4.762 2.952 5.810V20.095C2.000 21.143 2.857 22.000 3.905 22.000H17.238C19.238 21.048 20.095 20.190 20.095 19.143V11.524H17.238V20.095ZM9.819 17.076L7.952 14.829L5.333 18.190H15.810L13.390 12.752L10.771 16.124ZM20.095 3.905V2.000H17.238V4.857H14.381C15.343 3.914 15.333 5.810 15.333 5.810H18.190V8.657C18.200 8.667 20.095 8.657 20.095 8.657V6.762H22.000V4.857H19.143Z", fill: color }))); }; AddPhotoAlternate.displayName = 'AddPhotoAlternate';