JSX Element type

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:

Type 'Element' is not assignable to type 'ReactElement'.
  Type 'HtmlEscapedString' is not assignable to type 'ReactElement'.
    Type 'String & HtmlEscaped' is missing the following properties from type 'JSXNode': tag, props, children, type, and 2 more.ts(2322)


Any ideas on how to accept multiple child elements?
Was this page helpful?