1 | import React from 'react';
|
2 | import { FrameProps } from '../Frame';
|
3 | import { RouterContext } from '../HostProvider';
|
4 | import { ComponentProps } from '../types';
|
5 | import { WithFeature } from '../store/reducers/embeddedApp/navigation';
|
6 | interface ExtraProps extends Pick<FrameProps, 'onInit'> {
|
7 | onLocationUpdate(location: RouterContext['location']): void;
|
8 | [key: string]: any;
|
9 | }
|
10 | declare type ComposedProps = WithFeature & ExtraProps;
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 | export declare function MainFrame(props: ComposedProps): JSX.Element | null;
|
19 | declare const _default: (React.ComponentClass<ComponentProps & ExtraProps, any> & Pick<(React.ComponentClass<ComposedProps, any> & typeof MainFrame) | (React.FunctionComponent<ComposedProps> & typeof MainFrame), "defaultProps">) | (React.FunctionComponent<ComponentProps & ExtraProps> & Pick<(React.ComponentClass<ComposedProps, any> & typeof MainFrame) | (React.FunctionComponent<ComposedProps> & typeof MainFrame), "defaultProps">);
|
20 |
|
21 |
|
22 |
|
23 |
|
24 | export default _default;
|