onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
9 lines (8 loc) • 726 B
JavaScript
import React from 'react';
export const UnfoldMore = ({ 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: "M7.100 5.144L10.622 8.667L12.189 7.100L7.100 2.000L2.000 7.100L3.578 8.667L7.100 5.144ZM7.100 18.856L3.578 15.333L2.011 16.900L7.100 22.000L12.200 16.900L10.622 15.333L7.100 18.856Z", fill: color })));
};
UnfoldMore.displayName = 'UnfoldMore';