UNPKG

onecart-ui

Version:

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

12 lines (11 loc) 1.25 kB
import React from 'react'; import { Svg, Path } from 'react-native-svg'; export const BrowseGallery = ({ 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 2.000C6.478 2.000 2.000 6.478 2.000 12.000C2.000 17.522 6.478 22.000 12.000 22.000C17.522 22.000 22.000 17.522 22.000 12.000C22.000 6.478 17.522 2.000 12.000 2.000ZM12.000 19.778C7.711 19.778 4.222 16.289 4.222 12.000C4.222 7.711 7.711 4.222 12.000 4.222C16.289 4.222 19.778 7.711 19.778 12.000C19.778 16.289 16.289 19.778 12.000 19.778Z", fill: color }), React.createElement(Path, { d: "M8.515 2.000H4.172V13.748L12.402 22.000L15.485 18.916L8.515 11.967V2.000Z", fill: color }), React.createElement(Path, { d: "M15.323 2.000V2.000C20.225 3.212 22.000 5.820 22.000 8.840C22.000 11.859 20.225 14.467 17.660 15.680V20.355C19.100 19.013 21.827 15.409 21.827 11.177C21.827 6.946 19.100 3.342 15.323 2.000Z", fill: color }))); }; BrowseGallery.displayName = 'BrowseGallery';