mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Follow up for #54202, use swc AST to determine the directives. Also add server actions directives for extendibility here in case we might need it in the future Closes NEXT-1538
16 lines
310 B
JavaScript
16 lines
310 B
JavaScript
import React from 'react'
|
|
import RootStyleRegistry from './root-style-registry'
|
|
|
|
export default function AppLayout({ children }) {
|
|
return (
|
|
<html>
|
|
<head>
|
|
<title>RSC</title>
|
|
</head>
|
|
<body>
|
|
<RootStyleRegistry>{children}</RootStyleRegistry>
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|