Component
DocsHub
An index of documentation: sections, each a grid of page cards.
import { DocsHub } from '@loidolt/theme-docs';
Example
Foundations
The system the components are built on.
Packages
Props
Generated from the component source, so it cannot drift from the implementation.
| Prop | Type | Default | Notes |
|---|---|---|---|
sections required | DocsSection[] | — | Groups of pages, each with a heading and a grid of cards. |
class | string | — | |
headingLevel | HeadingLevel | 2 | Level of the section headings; the cards take the next one. |
ref bindable | HTMLDivElement | null | null |
Plus the attributes of HTMLAttributes<HTMLDivElement>, forwarded to the root element.