UNPKG

onecart-ui

Version:

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

10 lines (9 loc) 1.17 kB
import React from 'react'; import { Svg, Path } from 'react-native-svg'; export const Luggage = ({ 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: "M9.500 18.000H8.000V9.000H9.500V18.000ZM12.750 18.000H11.250V9.000H12.750V18.000ZM16.000 18.000H14.500V9.000H16.000V18.000ZM17.000 6.000H15.000V3.000C15.000 2.450 14.550 2.000 14.000 2.000H10.000C9.450 2.000 9.000 2.450 9.000 3.000V6.000H7.000C5.900 6.000 5.000 6.900 5.000 8.000V19.000C5.000 20.100 5.900 21.000 7.000 21.000C7.000 21.550 7.450 22.000 8.000 22.000C8.550 22.000 9.000 21.550 9.000 21.000H15.000C15.000 21.550 15.450 22.000 16.000 22.000C16.550 22.000 17.000 21.550 17.000 21.000C18.100 21.000 19.000 20.100 19.000 19.000V8.000C19.000 6.900 18.100 6.000 17.000 6.000ZM10.500 3.500H13.500V6.000H10.500V3.500ZM17.000 19.000H7.000V8.000H17.000V19.000Z", fill: color }))); }; Luggage.displayName = 'Luggage';