UNPKG

onecart-ui

Version:

OneCart UI: Cross-platform design tokens + React & React Native components

9 lines (8 loc) 677 B
import React from 'react'; export const FirstPage = ({ 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: "M22.000 19.067L14.603 11.670L22.000 4.272L19.728 2.000L10.058 11.670L19.728 21.339L22.000 19.067ZM2.000 2.000H5.223V21.339H2.000V2.000Z", fill: color }))); }; FirstPage.displayName = 'FirstPage';