onecart-ui
Version:
OneCart UI: Cross-platform design tokens + React & React Native components
17 lines (16 loc) • 1.41 kB
JavaScript
import React from 'react';
import { Svg, Path } from 'react-native-svg';
export const AppRegistration = ({ 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: "M22.000 2.000H2.000V22.000H22.000V2.000Z", fill: color }),
React.createElement(Path, { d: "M22.000 2.000H2.000V22.000H22.000V2.000Z", fill: color }),
React.createElement(Path, { d: "M22.000 2.000H2.000V22.000H22.000V2.000Z", fill: color }),
React.createElement(Path, { d: "M20.817 11.527L12.473 3.183C11.290 2.000 9.456 2.000 8.272 3.183L2.000 9.456L14.544 22.000L20.817 15.728C22.000 14.544 22.000 12.710 20.817 11.527Z", fill: color }),
React.createElement(Path, { d: "M22.000 2.000H2.000V22.000H22.000V2.000Z", fill: color }),
React.createElement(Path, { d: "M22.000 12.150V2.000H2.000V22.000H12.150L22.000 12.150Z", fill: color }),
React.createElement(Path, { d: "M2.000 15.222V22.000H4.644L19.956 6.711L15.244 2.000L2.000 15.222Z", fill: color }),
React.createElement(Path, { d: "M22.000 2.000H2.000V22.000H22.000V2.000Z", fill: color })));
};
AppRegistration.displayName = 'AppRegistration';