import { Pressable, StyleSheet } from "react-native"; import { ChevronLeft } from "../../icons"; import { gameUIColors } from "../gameUI/constants/gameUIColors"; interface BackButtonProps { onPress: () => void; color?: string; size?: number; accessibilityLabel?: string; accessibilityHint?: string; } export function BackButton({ onPress, color = gameUIColors.primary, size = 16, accessibilityLabel = "Go back", accessibilityHint = "Return to previous screen", }: BackButtonProps) { return ( ); } const styles = StyleSheet.create({ button: { width: 28, height: 28, borderRadius: 6, backgroundColor: gameUIColors.secondary + "1A", justifyContent: "center", alignItems: "center", borderWidth: 1, borderColor: gameUIColors.secondary + "33", }, });