import Ionicons from '@expo/vector-icons/Ionicons'; import React from 'react'; import { StyleProp, StyleSheet, TouchableOpacity, TouchableOpacityProps, ViewStyle, } from 'react-native'; type BackButtonProps = { onPress: () => void; style?: StyleProp; } & Omit; export function BackButton({ onPress, style, accessibilityLabel = 'Go back', ...rest }: BackButtonProps) { return ( ); } const styles = StyleSheet.create({ shell: { width: 48, height: 48, borderRadius: 18, borderWidth: 1, alignItems: 'center', justifyContent: 'center', }, });