rsnext/examples/with-vanilla-extract/app/layout.tsx
Jack Sutton 27655dbba7
Update Vanilla Extract Example (#50394)
### What?
- Adds an updated Vanilla Extract example
- ~~Note that `@vanilla-extract/next-plugin` currently requires
`experimental: { appDir: true }` to be set.~~

### Why?
- The
[documentation](https://nextjs.org/docs/app/building-your-application/styling/css-in-js)
currently links to a [personal
repo](https://github.com/SuttonJack/vanilla-extract-app-dir)
- Closes https://github.com/SuttonJack/vanilla-extract-app-dir/issues/2

<p align="center"><img width="600"
src="https://github.com/vercel/next.js/assets/92991945/eeab322e-e75e-4999-9fe7-39aa15c45c11"
/></p>

-->
2023-05-27 01:41:17 +00:00

13 lines
195 B
TypeScript

import './globalStyle.css'
export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<html lang="en">
<body>{children}</body>
</html>
)
}