UNPKG

react-native-netlog-fab

Version:

Floating action button for network logging in React Native apps.

109 lines (108 loc) โ€ข 2.72 kB
"use strict"; import React from 'react'; import { Text } from 'react-native'; import { jsx as _jsx } from "react/jsx-runtime"; export let Icons = /*#__PURE__*/function (Icons) { Icons["MaterialIcons"] = "MaterialIcons"; return Icons; }({}); const Icon = ({ name, size, color = '#000' }) => { // Map of Material Icons to their Unicode characters const materialIcons = { 'expand-less': 'โ–ฒ', 'expand-more': 'โ–ผ', 'bug-report': '๐Ÿ›', 'network-check': '๐Ÿ“ก', 'wifi': '๐Ÿ“ถ', 'settings': 'โš™๏ธ', 'code': '๐Ÿ’ป', 'analytics': '๐Ÿ“Š', 'list': '๐Ÿ“‹', 'search': '๐Ÿ”', 'info': 'โ„น๏ธ', 'warning': 'โš ๏ธ', 'error': 'โŒ', 'check-circle': 'โœ…', 'refresh': '๐Ÿ”„', 'close': 'โŒ', 'menu': 'โ˜ฐ', 'more-vert': 'โ‹ฎ', 'add': 'โž•', 'remove': 'โž–', 'edit': 'โœ๏ธ', 'delete': '๐Ÿ—‘๏ธ', 'visibility': '๐Ÿ‘๏ธ', 'visibility-off': '๐Ÿ‘๏ธโ€๐Ÿ—จ๏ธ', 'download': 'โฌ‡๏ธ', 'upload': 'โฌ†๏ธ', 'cloud': 'โ˜๏ธ', 'cloud-done': 'โ˜๏ธโœ…', 'cloud-off': 'โ˜๏ธโŒ', 'sync': '๐Ÿ”„', 'sync-problem': '๐Ÿ”„โŒ', 'history': 'โฑ๏ธ', 'schedule': '๐Ÿ“…', 'timer': 'โฐ', 'hourglass-empty': 'โŒ›', 'hourglass-full': 'โณ', 'speed': 'โšก', 'speed-off': 'โšกโŒ', 'traffic': '๐Ÿšฆ', 'router': '๐Ÿ“ก', 'dns': '๐ŸŒ', 'storage': '๐Ÿ’พ', 'memory': '๐Ÿง ', 'developer-mode': '๐Ÿ‘จโ€๐Ÿ’ป', 'devices': '๐Ÿ“ฑ', 'device-unknown': 'โ“', 'devices-other': '๐Ÿ“ฑ+', 'security': '๐Ÿ”’', 'vpn-lock': '๐Ÿ”', 'verified-user': 'โœ“', 'report-problem': 'โš ๏ธ', 'help': 'โ“', 'help-outline': 'โ”', 'feedback': '๐Ÿ’ฌ', 'support': '๐Ÿ†˜', 'priority-high': 'โ—', 'low-priority': 'โฌ', 'star': 'โญ', 'star-border': 'โ˜†', 'star-half': 'โญยฝ', 'favorite': 'โค๏ธ', 'favorite-border': '๐Ÿค', 'bookmark': '๐Ÿ”–', 'bookmark-border': '๐Ÿ“‘', 'flag': '๐Ÿšฉ', 'flag-outline': '๐Ÿณ๏ธ', 'share': '๐Ÿ“ค', 'link': '๐Ÿ”—', 'link-off': '๐Ÿ”—โŒ', 'open-in-new': 'โ†—๏ธ', 'launch': '๐Ÿš€', 'exit-to-app': 'โ†ช๏ธ', 'settings-backup-restore': '๐Ÿ’พโ†ฉ๏ธ', 'restore': 'โ†ฉ๏ธ', 'restore-page': '๐Ÿ“„โ†ฉ๏ธ', 'backup': '๐Ÿ’พ', 'cloud-upload': 'โ˜๏ธโฌ†๏ธ', 'cloud-download': 'โ˜๏ธโฌ‡๏ธ', 'cloud-sync': 'โ˜๏ธ๐Ÿ”„', 'cloud-queue': 'โ˜๏ธโณ', 'cloud-error': 'โ˜๏ธโŒ', 'cloud-circle': 'โ˜๏ธโญ•' }; return /*#__PURE__*/_jsx(Text, { style: { fontSize: size, color }, children: materialIcons[name] || 'โ“' }); }; export default Icon; //# sourceMappingURL=Icons.js.map