onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
11 lines (10 loc) • 782 B
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const North = ({ 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.000 6.000L6.410 7.410L11.000 2.830V22.000H10.000V5.830L14.590 10.420L16.000 9.000L9.000 2.000L2.000 9.000Z", fill: color }),
React.createElement(Path, { d: "M2.000 18.867L2.340 19.207L3.446 18.104V22.000H3.928V18.104L5.034 19.210L5.373 18.867L3.687 17.181L2.000 18.867Z", fill: color })));
};
North.displayName = 'North';