onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
10 lines (9 loc) • 709 B
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const Leaderboard = ({ 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: "M15.000 11.000V2.000H8.000V8.000H2.000V20.000H22.000V10.000H16.000ZM9.000 5.000H13.000V19.000H9.000V5.000ZM3.000 11.000H7.000V19.000H3.000V11.000ZM19.000 19.000H15.000V13.000H19.000V19.000Z", fill: color })));
};
Leaderboard.displayName = 'Leaderboard';