UNPKG

410 BTypeScriptView Raw
1import * as React from 'react';
2declare type Props = {
3 children: React.ReactNode;
4};
5export declare const SingleNavigatorContext: React.Context<{
6 register(key: string): void;
7 unregister(key: string): void;
8} | undefined>;
9/**
10 * Component which ensures that there's only one navigator nested under it.
11 */
12export default function EnsureSingleNavigator({ children }: Props): JSX.Element;
13export {};