import { html } from '@design.estate/dees-element'; import { DeesModal } from './dees-modal.js'; export const demoFunc = () => html` { DeesModal.createAndShow({ heading: 'This is a heading', content: html` `, menuOptions: [{ name: 'Cancel', iconName: null, action: async (deesModalArg) => { deesModalArg.destroy(); return null; } }, { name: 'Ok', iconName: null, action: async (deesModalArg) => { deesModalArg.destroy(); return null; } }], }); }}>open modal `