import{r as e,h as t}from"./p-0d5a2e05.js";const o=class{constructor(t){e(this,t);this.show=false}render(){return t("div",{key:"b7a84b7fa2b731b52388788358f0cd257074030e",style:{position:"relative"}},t("h1",{key:"10bfeddaffb5b0faf1e1767545c8590bc2673db1"},"Modal Example"),t("button",{key:"a242fc80c43d4393fa9ba87307ff4257aeb35ad1",onClick:()=>this.show=true},"Open Modal"),this.show?"shown":"hidden",t("dga-modal",{key:"752732444d36263f07d241961888c88b100a968a",modalTitle:"Title goes here",open:this.show,closeButton:true,onClose:()=>this.show=false,buttonsList:[{title:"Button",label:"Button",onClick:()=>{console.log("clicked")},id:"hello"},{title:"Button",label:"Button",onClick:()=>{console.log("clicked")},id:"hello"},{title:"Button",label:"Button",onClick:()=>{console.log("clicked")},id:"hello"},{title:"Button",label:"Button",onClick:()=>{console.log("clicked")},id:"heldlo"}],actionStack:false,secondBtnPosition:"right",featuredIconType:"InformationCircle",name:"modal-example"},"When a Modal needs a further detailed explanation, it goes here.",t("dga-rating",{key:"5ba94553d277bbe3bdf8c728f7f53af69663e787"})))}};export{o as dga_modal_usage};
//# sourceMappingURL=p-c9648ce8.entry.js.map