import React from 'react'; import {Pressable, StyleSheet, Text, View} from 'react-native'; import {IconButton} from 'react-native-paper'; // const icons = ['(・o・;)', 'Σ(ಠ_ಠ)', 'ಥ_ಥ', '(˘・_・˘)', '(; ̄Д ̄)', '(・Д・。']; export const ErrorView = ({errorName, actions, theme}) => ( {/* {icons[Math.floor(Math.random() * 5)]} */} ಥ_ಥ {errorName} {actions.map(action => ( {action.name} ))} ); const styles = StyleSheet.create({ emptyViewContainer: { flex: 1, justifyContent: 'center', alignItems: 'center', }, emptyViewIcon: { fontSize: 45, }, emptyViewText: { fontWeight: 'bold', marginTop: 10, textAlign: 'center', paddingHorizontal: 30, }, });