UNPKG

491 BTypeScriptView Raw
1import type { ParamListBase } from '@react-navigation/routers';
2import { FocusedNavigationListener } from './NavigationBuilderContext';
3import type { NavigationHelpers } from './types';
4declare type Options = {
5 navigation: NavigationHelpers<ParamListBase>;
6 focusedListeners: FocusedNavigationListener[];
7};
8/**
9 * Hook for passing focus callback to children
10 */
11export default function useFocusedListenersChildrenAdapter({ navigation, focusedListeners, }: Options): void;
12export {};