onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
9 lines (8 loc) • 636 B
JavaScript
import React from 'react';
export const ExpandMore = ({ 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: "M19.650 2.000L12.000 9.633L4.350 2.000L2.000 4.350L12.000 14.350L22.000 4.350L19.650 2.000Z", fill: color })));
};
ExpandMore.displayName = 'ExpandMore';