UNPKG

419 BTypeScriptView Raw
1import * as React from 'react';
2import type { PortalMethods } from './PortalHost';
3declare type Props = {
4 manager: PortalMethods;
5 children: React.ReactNode;
6};
7export default class PortalConsumer extends React.Component<Props> {
8 componentDidMount(): Promise<void>;
9 componentDidUpdate(): void;
10 componentWillUnmount(): void;
11 private key;
12 private checkManager;
13 render(): null;
14}
15export {};