next.js/test/e2e/app-dir/autoscroll-with-css-modules/app/layout.tsx
layout.tsx23 lines378 B
import { Suspense } from 'react'

export default function Layout({ children }: any) {
  return (
    <Suspense
      fallback={
        <html>
          <body />
        </html>
      }
    >
      <html
        style={{
          overflowY: 'scroll',
        }}
      >
        <head />
        <body style={{ margin: 0 }}>{children}</body>
      </html>
    </Suspense>
  )
}
Quest for Codev2.0.0
/
SIGN IN