1 | import * as React from 'react';
|
2 | import PortalHost from './PortalHost';
|
3 | declare type Props = {
|
4 | |
5 |
|
6 |
|
7 | children: React.ReactNode;
|
8 | |
9 |
|
10 |
|
11 | theme: ReactNativePaper.Theme;
|
12 | };
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 | declare class Portal extends React.Component<Props> {
|
33 | static Host: typeof PortalHost;
|
34 | render(): JSX.Element;
|
35 | }
|
36 | declare const _default: (React.ComponentClass<Pick<Props, "children"> & {
|
37 | theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
|
38 | }, any> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<(React.ComponentClass<Props, any> & typeof Portal) | (React.FunctionComponent<Props> & typeof Portal), {}>) | (React.FunctionComponent<Pick<Props, "children"> & {
|
39 | theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
|
40 | }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<(React.ComponentClass<Props, any> & typeof Portal) | (React.FunctionComponent<Props> & typeof Portal), {}>);
|
41 | export default _default;
|