onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
11 lines (10 loc) • 805 B
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const ArrowUpward = ({ 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 12.000L3.762 13.762L10.750 6.787V22.000H13.250V6.787L20.225 13.775L22.000 12.000L12.000 2.000L2.000 12.000Z", fill: color }),
React.createElement(Path, { d: "M2.000 20.049L2.344 20.393L3.707 19.032V22.000H4.195V19.032L5.556 20.395L5.902 20.049L3.951 18.098L2.000 20.049Z", fill: color })));
};
ArrowUpward.displayName = 'ArrowUpward';