@react-navigation/core
Version:
Core utilities for building navigators
6 lines • 298 B
TypeScript
/**
* Hook to get the current focus state of the screen. Returns a `true` if screen is focused, otherwise `false`.
* This can be used if a component needs to render something based on the focus state.
*/
export declare function useIsFocused(): boolean;
//# sourceMappingURL=useIsFocused.d.ts.map