UNPKG

onecart-ui

Version:

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

10 lines (9 loc) 787 B
import React from 'react'; import { Svg, Path } from 'react-native-svg'; export const StayPrimaryPortrait = ({ 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: "M16.536 2.009L7.445 2.000C6.445 2.000 5.636 2.818 5.636 3.818V20.173C5.645 21.173 6.454 21.991 7.454 21.991H16.545C17.536 22.000 18.354 21.182 18.354 20.182V3.809C18.363 2.809 17.545 2.000 16.545 2.000ZM16.545 18.355H7.454V5.627H16.545V18.355Z", fill: color }))); }; StayPrimaryPortrait.displayName = 'StayPrimaryPortrait';