onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
10 lines (9 loc) • 1.04 kB
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const Curtains = ({ 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: "M19.000 19.000V2.000H4.000V18.000H2.000V20.000H22.000V18.000H20.000ZM17.000 10.860C14.950 10.280 13.360 7.930 13.060 5.000H17.000V10.860ZM14.810 12.000C12.770 13.350 11.310 15.940 11.050 19.000H10.960C11.700 14.940 10.240 12.350 8.200 11.000C10.240 9.650 11.700 7.060 11.960 4.000H12.050C11.310 8.060 12.770 10.650 14.810 12.000ZM8.940 5.000C8.640 7.930 7.050 10.270 5.000 10.860V4.000H9.940ZM5.000 13.140C7.050 13.720 8.640 16.070 8.940 19.000H5.000V13.140ZM13.060 19.000C13.360 16.070 14.950 13.730 17.000 13.140V18.000H14.060Z", fill: color })));
};
Curtains.displayName = 'Curtains';