Atomico supports through the use of the Host type, the declaration of events and methods, this is useful for associating meta-types to the customElement instance when using JSX or TSX.
Host will be useful for you to declare your event using JSX or TSX regardless of its origin, example:
The use of Host allows that when using JSX or TSX your event is validated through Typescript, this also applies when using @atomico/react, example:
Note event.currentTarget accesses the CustomElement, example properties and more.
That has another benefit, capturing the event as a type to be used in an external handler, example: