UNPKG

371 BTypeScriptView Raw
1import * as React from 'react';
2import type { SceneRendererProps } from './types';
3type SceneProps = {
4 route: any;
5} & Omit<SceneRendererProps, 'layout'>;
6export declare function SceneMap<T extends any>(scenes: {
7 [key: string]: React.ComponentType<T>;
8}): ({ route, jumpTo, position }: SceneProps) => JSX.Element;
9export {};
10//# sourceMappingURL=SceneMap.d.ts.map
\No newline at end of file