Section
Titled content block.
On this page
Props
| Prop | Type | Default | Description |
|---|---|---|---|
title required | string | None | Section heading |
description | string | None | Subtext |
link | SectionLink | None | "See all" link (path must start with /) |
content required | PageNode | readonly PageNode[] | None | Child nodes |
Example
ts
Section({
title: "Warehouses",
description: "Active compute resources",
link: { label: "View all", path: "/warehouses" },
content: Table({ source: warehouses() }),
})Supporting types
SectionLink
export interface SectionLink {
label: string;
path: string;
}PageSectionLink
export type PageSectionLink = SectionLink;