import React from "react";
import { getCssText } from "../stitches.config";
export const metadata = {
title: "Use Stitches with Next.js",
};
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<html lang="en">
<head>
<style
id="stitches"
dangerouslySetInnerHTML={{ __html: getCssText() }}
/>
</head>
<body>{children}</body>
</html>
);
}