UNPKG

onecart-ui

Version:

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

12 lines (11 loc) 1.43 kB
import React from 'react'; import { Svg, Path } from 'react-native-svg'; export const DirectionsCarFilled = ({ 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.689 5.344C19.467 4.689 18.844 4.222 18.111 4.222H5.889C5.156 4.222 4.544 4.689 4.311 5.344L2.000 12.000V20.889C2.000 21.500 2.500 22.000 3.111 22.000H4.222C4.833 22.000 5.333 21.500 5.333 20.889V19.778H18.667V20.889C18.667 21.500 19.167 22.000 19.778 22.000H20.889C21.500 22.000 22.000 21.500 22.000 20.889V12.000L19.689 5.344ZM6.278 6.444H17.711L18.867 9.778H5.122L6.278 6.444ZM19.778 17.556H4.222V12.000H19.778V17.556Z", fill: color }), React.createElement(Path, { d: "M12.000 22.000C17.523 22.000 22.000 17.523 22.000 12.000C22.000 6.477 17.523 2.000 12.000 2.000C6.477 2.000 2.000 6.477 2.000 12.000C2.000 17.523 6.477 22.000 12.000 22.000Z", fill: color }), React.createElement(Path, { d: "M12.000 22.000C17.523 22.000 22.000 17.523 22.000 12.000C22.000 6.477 17.523 2.000 12.000 2.000C6.477 2.000 2.000 6.477 2.000 12.000C2.000 17.523 6.477 22.000 12.000 22.000Z", fill: color }))); }; DirectionsCarFilled.displayName = 'DirectionsCarFilled';