onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
11 lines (10 loc) • 1.07 kB
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const Sell = ({ 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: "M12.000 22.000C17.523 22.000 22.000 17.523 22.000 12.000C22.000 6.477 17.523 2.000 12.000 2.000C6.477 2.000 2.000 6.477 2.000 12.000C2.000 17.523 6.477 22.000 12.000 22.000Z", fill: color }),
React.createElement(Path, { d: "M21.218 11.317L12.475 2.574C12.109 2.208 11.604 2.000 11.079 2.000H3.980C2.891 2.000 2.000 2.891 2.000 3.980V11.079C2.000 11.604 2.208 12.109 2.584 12.475L11.327 21.218C12.099 21.990 13.356 21.990 14.129 21.218L21.228 14.119C22.000 13.347 22.000 12.099 21.218 11.317ZM12.723 19.822L3.980 11.079V3.980H11.079L19.822 12.723L12.723 19.822Z", fill: color })));
};
Sell.displayName = 'Sell';