onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
10 lines (9 loc) • 695 B
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const GetApp = ({ 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: "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';