import type { Component } from 'solid-js/types/render/component.js'
import { Suspense } from 'solid-js/web'

const App: Component<{ children: Element }> = (props) => {
  return (
    <>
      <main>
        <Suspense>{props.children}</Suspense>
      </main>
    </>
  )
}

export default App
