onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
10 lines (9 loc) • 812 B
JavaScript
import React from 'react';
export const North = ({ size = 'md', color = 'currentColor', className, 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", xmlns: "http://www.w3.org/2000/svg", className: className, 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';