import type { PropsWithChildren } from 'react'; import { Sidebar } from './Sidebar'; type AppShellProps = PropsWithChildren<{ active: string; onSelect: (value: string) => void; onLogout: () => void; }>; export function AppShell({ active, onSelect, onLogout, children, }: AppShellProps) { return (