UNPKG

onecart-ui

Version:

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

10 lines (9 loc) 1 kB
import React from 'react'; import { Svg, Path } from 'react-native-svg'; export const MoreVert = ({ 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: "M4.500 7.000C5.875 7.000 7.000 5.875 7.000 4.500C7.000 3.125 5.875 2.000 4.500 2.000C3.125 2.000 2.000 3.125 2.000 4.500C2.000 5.875 3.125 7.000 4.500 7.000ZM4.500 9.500C3.125 9.500 2.000 10.625 2.000 12.000C2.000 13.375 3.125 14.500 4.500 14.500C5.875 14.500 7.000 13.375 7.000 12.000C7.000 10.625 5.875 9.500 4.500 9.500ZM4.500 17.000C3.125 17.000 2.000 18.125 2.000 19.500C2.000 20.875 3.125 22.000 4.500 22.000C5.875 22.000 7.000 20.875 7.000 19.500C7.000 18.125 5.875 17.000 4.500 17.000Z", fill: color }))); }; MoreVert.displayName = 'MoreVert';