14 lines
256 B
TypeScript
14 lines
256 B
TypeScript
import type { ReactNode } from 'react';
|
|
|
|
type RootLayoutProperties = {
|
|
readonly children: ReactNode;
|
|
};
|
|
|
|
const RootLayout = ({ children }: RootLayoutProperties) => (
|
|
<html lang="en">
|
|
<body>{children}</body>
|
|
</html>
|
|
);
|
|
|
|
export default RootLayout;
|