import type { ReactNode } from 'react'; import { useNavigate } from 'react-router-dom'; import { Icon } from '../shared/Icon'; interface DocPageShellProps { title: string; subtitle?: string; icon?: string; iconColor?: string; backTo?: string; backLabel?: string; headerRight?: ReactNode; sidebar?: ReactNode; children: ReactNode; } export function DocPageShell({ title, subtitle, icon, iconColor = 'var(--color-primary)', backTo, backLabel = 'Back', headerRight, sidebar, children, }: DocPageShellProps) { const navigate = useNavigate(); return (
{subtitle}
}