Skip to content
6 changes: 6 additions & 0 deletions Documentation/ComponentPicker/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,10 @@ Components with descriptors today:
| `Tag` | `Tag` | `severity`, `rounded` |
| `Skeleton` | `Skeleton` | `width`, `height`, `borderRadius`, `circle` |
| `ProgressSpinner` | `ProgressSpinner` | `aria-label` |
| `ProgressBar` | `ProgressBar` | `showValue`, `aria-label` |
| `Surface` | `Surface` | `aria-label` |
| `NumericInput` | `NumericInput` | `placeholder`, `aria-label` |
| `Tabs` | `Tabs` | `aria-label` |
| `Breadcrumbs` | `Breadcrumbs` | `aria-label` |
| `Message` | `Message` | `severity` |
| `Toolbar` | `Toolbar` | `orientation`, `aria-label` |
Expand All @@ -152,6 +156,8 @@ Components with descriptors today:

`DataPage` renders a `Page` and is marked `DataPage`; its title is the `Page` title property.

The `Tabs` accessible label belongs to its tab list. Progress values, numeric input values and constraints, tab items, selected values, and callbacks are not exposed as editable presentation properties.

### Describe your own component

To make your own component pickable and editable, declare its presentation properties with `describeComponent`, then pass that descriptor and the incoming props to `useComponentPresentation`. The descriptor's property names are checked against the component's props. In this `Banner`, the editor can propose a headline or emphasis change; `onDismiss` is not exposed:
Expand Down
Loading
Loading