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>
  );
}

