onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
9 lines (8 loc) • 723 B
JavaScript
import React from 'react';
export const GetApp = ({ 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: "M13.765 4.353V11.412H15.141L12.588 13.965L10.035 11.412H11.412V4.353H13.765ZM16.118 2.000H9.059V9.059H4.353L12.588 17.294L20.824 9.059H16.118V2.000ZM20.824 19.647H4.353V22.000H20.824V19.647Z", fill: color })));
};
GetApp.displayName = 'GetApp';