feat: support route layouts via _layout.tsx (#1506)
Co-authored-by: Marvin Hagemeister <marvin@deno.com>
This commit is contained in:
co-authored by
Marvin Hagemeister
parent
18857ea052
commit
1ed93cec88
@@ -0,0 +1,5 @@
|
||||
import { h } from "preact";
|
||||
|
||||
export default function JsLayout({ Component }) {
|
||||
return h("div", { class: "js-layout" }, h(Component, null));
|
||||
}
|
||||
Reference in New Issue
Block a user