import Component from '../Component'; import Alert from './Alert'; import Button from './Button'; /** * The `Modal` component displays a modal dialog, wrapped in a form. Subclasses * should implement the `className`, `title`, and `content` methods. * * @abstract */ export default class Modal extends Component { init() { /** * An alert component to show below the header. * * @type {Alert} */ this.alert = null; } view() { if (this.alert) { this.alert.props.dismissible = false; } return (