import { ReactNode } from 'react' // Every group is a page: clicking it opens it. `soon` groups are inert placeholders // for the roadmap. export interface Group { id: string; label: string; icon: ReactNode; soon?: boolean } interface Props { groups: Group[]; view: string; header?: ReactNode; badges?: Record; onView: (id: string) => void } export default function Rail({ groups, view, header, badges, onView }: Props) { return ( ) }