import { SvgXml } from '@react-native-bedrock/native/react-native-svg'; import { Platform, TouchableOpacity, TouchableOpacityProps, View } from 'react-native'; interface BackButtonProps extends TouchableOpacityProps { tintColor?: string; onPress?: () => void; } const DEFAULT_COLOR = '#191f28'; // grey900 function BackButton({ tintColor, onPress }: BackButtonProps) { return ; } function NavbarBackButton({ onPress, color }: { onPress?: () => void; color?: string }) { return ( ); } const ANDROID_BACK_BUTTON = ` `; const IOS_BACK_BUTTON = ` `; const BACK_BUTTON_XML = Platform.select({ android: ANDROID_BACK_BUTTON, ios: IOS_BACK_BUTTON, default: IOS_BACK_BUTTON, }); const BACK_BUTTON_MARGIN = Platform.select({ android: -4, ios: -12, default: -12, }); export { BackButton };