1 |
|
2 | import * as React from 'react';
|
3 | import { ReducibleNode } from 'reducible-node';
|
4 | import { Navigator } from './navigator';
|
5 | export interface NavigationPassedProps<R extends ReducibleNode<any>, TParams = {}> {
|
6 | mutex: string;
|
7 | parent: string | undefined;
|
8 | path: string;
|
9 | openedFrom: string | undefined;
|
10 | params: TParams;
|
11 | state: R['type'];
|
12 | title: string;
|
13 | navigator: Navigator;
|
14 | }
|
15 | export interface NavigationProps {
|
16 | navigator: Navigator;
|
17 | mutex?: string;
|
18 | }
|
19 | export declare function Navigation({navigator, mutex}: NavigationProps): React.ReactElement<NavigationPassedProps<any, any>>;
|