docs(accordion): also demo batch disable

This commit is contained in:
Eric Liu 2024-04-21 14:34:05 -07:00
commit f9b3476077
2 changed files with 17 additions and 8 deletions

View file

@ -140,9 +140,11 @@ By default, the chevron is right-aligned. Set `align="start"` to left-align the
## Programmatic example
This example demonstrates how a list of items can be programmatically expanded and collapsed.
This example demonstrates how all items can be programmatically expanded, collapsed, or disabled.
<FileSource src="/framed/Accordion/ExpandableAccordion" />
Disabled accordion items cannot be expanded.
<FileSource src="/framed/Accordion/ProgrammaticAccordion" />
## Disabled