I have a JSX component which should accept multiple children as props, however, using Element | Element[]
(or ReactElement
imported from hono/jsx
) gives the following error when multiple children are passed:
Any ideas on how to accept multiple child elements?