UNPKG

onecart-ui

Version:

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

10 lines (9 loc) 642 B
import React from 'react'; import { Svg, Path } from 'react-native-svg'; export const LastPage = ({ 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: "M2.000 4.272L9.397 11.670L2.000 19.067L4.272 21.339L13.942 11.670L4.272 2.000L2.000 4.272ZM18.777 2.000H22.000V21.339H18.777V2.000Z", fill: color }))); }; LastPage.displayName = 'LastPage';