import * as React from 'react';
import { PanelItem } from './Panel';
interface Props extends PanelItem {
}
/**
* Used to add items to the panel from other components' render methods.
*
* For example:
*
* class MyComponent extends React.Component {
* public render(): React.ReactNode {
* return (
*
*
* } />
*
My component!
*
* )
* }
* }
*
* The MyItem component will be rendered in the panel (Panel), not inside MyComponent.
*/
export declare class PanelItemPortal extends React.PureComponent {
private subscription;
componentDidMount(): void;
componentWillReceiveProps(props: Props): void;
componentWillUnmount(): void;
forceUpdate(callBack?: () => void): void;
render(): React.ReactNode;
}
export {};
//# sourceMappingURL=PanelItemPortal.d.ts.map