onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
9 lines (8 loc) • 815 B
JavaScript
import React from 'react';
export const StayPrimaryPortrait = ({ 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: "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';