Co-authored-by: Marvin Hagemeister <marvin@deno.com>
11 lines
219 B
TypeScript
11 lines
219 B
TypeScript
import { h } from "preact";
|
|
import { LayoutProps } from "$fresh/server.ts";
|
|
|
|
export default function TsxLayout({ Component }: LayoutProps) {
|
|
return (
|
|
<div class="tsx-layout">
|
|
<Component />
|
|
</div>
|
|
);
|
|
}
|