onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
10 lines (9 loc) • 788 B
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const StayPrimaryLandscape = ({ 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: "M2.009 7.445L2.000 16.536C2.000 17.536 2.818 18.355 3.818 18.355H20.182C21.173 18.364 21.991 17.545 21.991 16.545V7.445C22.000 6.445 21.182 5.627 20.182 5.627H3.818C2.809 5.636 2.000 6.455 2.000 7.455ZM18.355 7.455V16.536H5.636V7.445H18.364Z", fill: color })));
};
StayPrimaryLandscape.displayName = 'StayPrimaryLandscape';