UNPKG

onecart-ui

Version:

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

14 lines (13 loc) 1.8 kB
import React from 'react'; import { Svg, Path } from 'react-native-svg'; export const More = ({ 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: "M12.000 22.000C17.523 22.000 22.000 17.523 22.000 12.000C22.000 6.477 17.523 2.000 12.000 2.000C6.477 2.000 2.000 6.477 2.000 12.000C2.000 17.523 6.477 22.000 12.000 22.000Z", fill: color }), React.createElement(Path, { d: "M12.000 22.000C17.523 22.000 22.000 17.523 22.000 12.000C22.000 6.477 17.523 2.000 12.000 2.000C6.477 2.000 2.000 6.477 2.000 12.000C2.000 17.523 6.477 22.000 12.000 22.000Z", fill: color }), React.createElement(Path, { d: "M12.000 22.000C17.523 22.000 22.000 17.523 22.000 12.000C22.000 6.477 17.523 2.000 12.000 2.000C6.477 2.000 2.000 6.477 2.000 12.000C2.000 17.523 6.477 22.000 12.000 22.000Z", fill: color }), React.createElement(Path, { d: "M18.333 4.500H5.833C7.258 2.500 6.808 2.792 6.508 3.233L2.000 10.000L6.508 16.758C6.808 17.200 7.317 17.500 7.892 17.500H20.333C19.250 19.500 20.000 18.750 20.000 17.833V4.167C22.000 3.250 21.250 2.500 20.333 2.500ZM20.333 15.833H7.892L2.000 12.000L5.883 6.167H18.333V17.833Z", fill: color }), React.createElement(Path, { d: "M6.506 17.862H3.057C3.451 17.310 3.326 17.391 3.244 17.513L2.000 19.379L3.244 21.244C3.326 21.366 3.467 21.448 3.625 21.448H7.057C6.759 22.000 6.966 21.793 6.966 21.540V17.770C7.517 17.517 7.310 17.310 7.057 17.310ZM7.057 20.989H3.625L2.000 19.931L3.071 18.322H6.506V21.540Z", fill: color }))); }; More.displayName = 'More';