UNPKG

onecart-ui

Version:

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

10 lines (9 loc) 677 B
import React from 'react'; import { Svg, Path } from 'react-native-svg'; export const SubdirectoryArrowLeft = ({ 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: "M5.566 10.217L7.900 12.551L2.000 18.434H17.070V2.000H20.357V21.721H2.000L15.837 19.666L13.504 22.000L3.643 12.140L13.504 2.279Z", fill: color }))); }; SubdirectoryArrowLeft.displayName = 'SubdirectoryArrowLeft';