'use strict';

var index = require('./index-DSiE2De_.js');

const DgaModalUsage = class {
    constructor(hostRef) {
        index.registerInstance(this, hostRef);
        this.show = false;
    }
    render() {
        return (index.h("div", { key: '27c3ad37ce22a8977b0051796408c7bfdcce65e1', style: { position: "relative" } }, index.h("h1", { key: '32db0c599a5e0d46aed2673acde802e8b4a8473f' }, "Modal Example"), index.h("button", { key: 'f1f54b8dbe31f62c4ee4a3c15823a148dc42435d', onClick: () => this.show = true }, "Open Modal"), index.h("dga-modal", { key: '4e5530b0c709f30aa23c228174996c8a4ffe0cf1', buttonsList: [
                {
                    extraClass: '',
                    label: 'Close',
                    onClick: () => { },
                    title: 'Close Modal'
                }
            ], closeButton: true, modalTitle: "Basic Modal", name: "basicModal", onClose: () => { }, open: this.show }, "This is a simple modal with default configuration."), this.show ? "shown" : "hidden"));
    }
};

exports.dga_modal_usage = DgaModalUsage;
