ResourceSettingsPage
Every setting of one thing (a form, a course, a worksheet) on one page: jump links on the left ("On this page", the one in view marked), the sections as cards on the right. On a phone the links sit above the sections as a row that scrolls sideways. Not genesis-ui's `SettingsPage`: that one is a whole page with its own title, and plain sections; these settings sit under the resource's header, as cards with icons.
packages/ui/src/components/resource/ResourceSettingsPage.tsx
@marktiderman/genesis-uiimport { ResourceSettingsPage } from "@marktiderman/genesis-ui";react-docgen-typescript.SettingsSection
One group of settings as a card: an icon, a title and a sentence, then its rows (genesis-ui `SettingsRow` and `ToggleRow`: a label, a one-sentence description and the control), divided by lines. On a phone a row whose control isn't a switch puts the control under its label, so wide controls (a link, a list of people) still fit.
| Prop | Type | Default | Description |
|---|---|---|---|
| title* | ReactNode | — | |
| className | string | — | |
| description | ReactNode | — | |
| icon | ReactNode | — | |
| id | string | — | The jump link's target. |
ResourceSettingsPage
Every setting of one thing (a form, a course, a worksheet) on one page: jump links on the left ("On this page", the one in view marked), the sections as cards on the right. On a phone the links sit above the sections as a row that scrolls sideways. Not genesis-ui's `SettingsPage`: that one is a whole page with its own title, and plain sections; these settings sit under the resource's header, as cards with icons.
| Prop | Type | Default | Description |
|---|---|---|---|
| sections* | readonly ResourceSettingsSection[] | — | |
| className | string | — | |
| navLabel | string | On this page |