ListSection
Add a section heading and optional action within a List.
ListSection renders a heading row inside a List. Pass action for a supporting control or sticky to keep the heading visible during scrolling.
Import
import { ListSection } from "@solarius/onset";Props
| Prop | Type | Default | Description |
|---|---|---|---|
children | ReactNode | — | Section heading text. |
action | ReactNode | — | Right-aligned content. |
sticky | boolean | — | Keeps the heading pinned while its section scrolls. |