import * as React from 'react'; import { IDiv } from '../../interfaces'; import { PanelHeader } from './Header'; import { PanelContent } from './Content'; interface PanelProps extends IDiv { /** * Identifier of Panel */ panelKey?: any; /** * If true, panel will expand */ active?: boolean; /** * If true, panel can not be expand */ disabled?: boolean; /** * Disables arrow icon in header component */ noIcon?: boolean; /** * If true, can't change active panel with click to header */ unclickable?: boolean; /** * Index of panel */ panelIndex?: number; /** * Callback function when active panel is changed */ handleChange?: (index?: number) => void; /** * Callback function when active panel is changed */ onPanelChange?: (key?: any, index?: number, state?: boolean) => void; /** * Additional classes */ className?: string; } export declare class Panel extends React.PureComponent { static Header: typeof PanelHeader; static Content: typeof PanelContent; handleActive: () => void; componentDidUpdate(prevProps: any, prevState: any): void; render(): JSX.Element; } export {};