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

function ExampleAsset ({ src }) {
  return h(Asset, {
    _model: {
      image: { src, width: 1920, height: 1080 }
    }
  })
}

register(ExampleAsset, 'example-asset')
