import * as React from "react"; import { Elevation } from "../../common/elevation"; import { HTMLDivProps, IProps } from "../../common/props"; export interface IPanelProps extends IProps, HTMLDivProps { /** * Controls the intensity of the drop shadow beneath the panel: the higher * the elevation, the higher the drop shadow. At elevation `0`, no drop * shadow is applied. * * @default 0 */ elevation?: Elevation; /** * Whether the panel should respond to user interactions. If set to `true`, * hovering over the panel will increase the panel's elevation * and change the mouse cursor to a pointer. * * Recommended when `onClick` is also defined. * * @default false */ interactive?: boolean; /** * Header props */ headerProps?: IProps & HTMLDivProps; /** * Header element */ header?: React.ReactNode; /** * Callback invoked when the panel is clicked. * Recommended when `interactive` is `true`. */ onClick?: (e: React.MouseEvent) => void; } export declare class Panel extends React.PureComponent { static displayName: string; static defaultProps: IPanelProps; render(): JSX.Element; }