import * as React from 'react';
/**
 * A page that displays a modal prompt in the middle of the screen.
 */
export class ModalPage extends React.Component {
    render() {
        return (React.createElement("div", { className: `modal-page ${this.props.className || ''}` },
            React.createElement("div", { className: "card" },
                React.createElement("div", { className: "modal-page__card-body card-body" },
                    this.props.icon && React.createElement("div", { className: "modal-page__icon" }, this.props.icon),
                    this.props.children))));
    }
}
//# sourceMappingURL=ModalPage.js.map