import { __assign } from "tslib";
import React from 'react';
import ReactDOM from 'react-dom';
import LPDialog from './dialog';
import LPAlert from './alert';
import LPConfirm from './confirm';
var Dialog = function (props, esModule) {
    if (esModule) {
        return React.createElement(LPDialog, __assign({}, props));
    }
    return ReactDOM.render(React.createElement(LPDialog, __assign({}, props, { isQuick: true })), document.createElement('div'));
};
Dialog.LPAlert = function (props, esModule) {
    if (esModule) {
        return React.createElement(LPAlert, __assign({}, props));
    }
    return ReactDOM.render(React.createElement(LPAlert, __assign({}, props, { isQuick: true })), document.createElement('div'));
};
Dialog.LPConfirm = function (props, esModule) {
    if (esModule) {
        return React.createElement(LPConfirm, __assign({}, props));
    }
    return ReactDOM.render(React.createElement(LPConfirm, __assign({}, props, { isQuick: true })), document.createElement('div'));
};
export default Dialog;
