import { requireNativeView } from "expo"; import type { NativeSyntheticEvent, StyleProp, ViewProps, ViewStyle } from "react-native"; interface NativeHeaderButtonProps extends ViewProps { readonly label: string; readonly systemImage: "gearshape" | "square.and.pencil"; readonly onTriggered: (event: NativeSyntheticEvent>) => void; } const NativeHeaderButton = requireNativeView("T3NativeControls"); export function T3HeaderButton(props: { readonly accessibilityLabel: string; readonly icon: NativeHeaderButtonProps["systemImage"]; readonly onPress: () => void; readonly style?: StyleProp; }) { return ( ); }