'use client'; import { CategoryBlock } from './CategoryBlock'; import type { NavigateFn, SchemaSectionVM } from './types'; interface SchemaSectionProps { section: SchemaSectionVM; onNavigate: NavigateFn; } /** One schema block inside ``sections`` grouping mode. Renders a * sticky header with the schema name so users can tell which API * they're looking at while scrolling, then the categories below. */ export function SchemaSection({ section, onNavigate }: SchemaSectionProps) { return (