onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
10 lines (9 loc) • 689 B
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const Send = ({ 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.962 5.838L10.114 8.905L2.952 7.952L2.962 5.838ZM10.105 14.143L2.952 17.210V14.143L11.057 13.190ZM2.010 2.000L2.000 8.667L16.286 10.571L2.000 12.476L2.010 19.143L22.000 10.571L2.010 2.000Z", fill: color })));
};
Send.displayName = 'Send';