const { h, register, matter } = globalThis.ami
const { AccordionItem } = matter

function ExampleAccordion ({ title = 'Click me' }) {
  return h(AccordionItem, {
    _model: { title, text: 'You can see me now.' }
  })
}

register(ExampleAccordion, 'example-accordion')
