rsnext/examples/with-reflexjs/pages/_document.tsx
arshad dbb63850ee
feat: add with-reflexjs example (#24068)
This PR adds an example for using Next.js with [Reflexjs](https://reflexjs.org).

Thank You

## Documentation / Examples

- [x] Make sure the linting passes
2021-04-20 15:57:50 +00:00

17 lines
377 B
TypeScript

import NextDocument, { Html, Main, NextScript, Head } from 'next/document'
import { InitializeColorMode } from 'reflexjs'
export default class Document extends NextDocument {
render() {
return (
<Html lang="en">
<Head />
<body>
<InitializeColorMode />
<Main />
<NextScript />
</body>
</Html>
)
}
}