onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
10 lines (9 loc) • 836 B
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const HourglassEmpty = ({ 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: "M6.000 2.000V8.000H6.010L6.000 8.010L10.000 12.000L6.000 16.000L6.010 16.010H6.000V22.000H18.000V16.010H17.990L18.000 16.000L14.000 12.000L18.000 8.010L17.990 8.000H18.000V2.000H6.000ZM16.000 16.500V20.000H8.000V16.500L12.000 12.500L16.000 16.500ZM12.000 11.500L8.000 7.500V4.000H16.000V7.500L12.000 11.500Z", fill: color })));
};
HourglassEmpty.displayName = 'HourglassEmpty';