import * as React from 'react'; import HIDComponentProps from '../ComponentModel/HIDComponentModel'; import '../../../index.scss'; export interface HIDModalProps extends HIDComponentProps { /**Can be triggered by a function ,usually a button */ open: boolean; /** Callback function after closing the Modal*/ callback?: () => void; /** Action to be performed by the Modal,buttons are commonly used actions */ actions?: object; /** Title to be displayed in Modal */ title: string; /** Content to be displayed in Modal */ content: string; } export interface HIDModalState { open: boolean; } /** * ### The API documentation of the HID Modal React component. Learn more about the properties and the API Methods. * */ export default class HIDModal extends React.Component { state: HIDModalState; componentDidUpdate(prevProps: any): void; private handleClose; render(): JSX.Element; }