22 lines
364 B
TypeScript
22 lines
364 B
TypeScript
import React from 'react'
|
|
import ShowParams from './show-params'
|
|
|
|
export default function Layout({
|
|
children,
|
|
params,
|
|
}: {
|
|
children: React.ReactNode
|
|
params: {}
|
|
}) {
|
|
return (
|
|
<html>
|
|
<head></head>
|
|
<body>
|
|
<div>
|
|
<ShowParams prefix="root" params={params} />
|
|
{children}
|
|
</div>
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|