import { Component, ParentProps } from "solid-js";
import { Topbar } from "./topbar";
import { Dock } from "./dock";

export const WithTopbarAndDock: Component<ParentProps> = (props) => {
	return (
		<>
			<div class="">
				<Topbar />
			</div>
			<div class="h-full overflow-y-auto">{props.children}</div>
			<div class="">
				<Dock />
			</div>
		</>
	);
};
