mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
This PR updates the devtool overlay to use a new detachable panel based system for rendering content. Each panel can be configured to: - drag - resize - close on click outside - have min/max sizes if resizable, size if fixed https://github.com/user-attachments/assets/982ecee3-5ef0-424e-8fcc-4c54dfadcb25
15 lines
259 B
TypeScript
15 lines
259 B
TypeScript
export default function Root({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<html>
|
|
<body
|
|
style={{
|
|
backgroundColor: 'black',
|
|
color: 'white',
|
|
}}
|
|
>
|
|
{children}
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|