UNPKG

onecart-ui

Version:

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

10 lines (9 loc) 606 B
import React from 'react'; import { Svg, Path } from 'react-native-svg'; export const NorthWest = ({ 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: "M2.000 15.333H4.667V6.547L20.120 22.000L22.000 20.120L6.547 4.667H15.333V2.000H2.000V15.333Z", fill: color }))); }; NorthWest.displayName = 'NorthWest';