summaryrefslogtreecommitdiff
path: root/frontend/components/prism/AppShell.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/components/prism/AppShell.tsx')
-rw-r--r--frontend/components/prism/AppShell.tsx20
1 files changed, 20 insertions, 0 deletions
diff --git a/frontend/components/prism/AppShell.tsx b/frontend/components/prism/AppShell.tsx
new file mode 100644
index 0000000..63fd62b
--- /dev/null
+++ b/frontend/components/prism/AppShell.tsx
@@ -0,0 +1,20 @@
+import type { ReactNode } from "react";
+
+type Props = {
+ sidebar: ReactNode;
+ topbar: ReactNode;
+ children: ReactNode;
+};
+
+export function AppShell({ sidebar, topbar, children }: Props) {
+ return (
+ <main className="prism-app">
+ {sidebar}
+ <div className="psm-main">
+ {topbar}
+ <section className="psm-content">{children}</section>
+ </div>
+ </main>
+ );
+}
+