Skip to content

Commit

Permalink
docs(Accordion): improve docs of group & allow_close_all (#2070)
Browse files Browse the repository at this point in the history
  • Loading branch information
langz authored and tujoworker committed May 31, 2023
1 parent 2aa221b commit 2790302
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ These properties can send along with the `Accordion.Provider` or `Accordion.Grou
| `contentRef` | _(optional)_ send along a custom React Ref for `.dnb-accordion__content`. |
| [Space](/uilib/components/space/properties) | _(optional)_ spacing properties like `top` or `bottom` are supported. |

| Accordion.Provider and Accordion.Group Properties | Description |
| ------------------------------------------------- | ------------------------------------------------------------------------- |
| `group` | _(optional)_ define a unique id, it will be used |
| `allow_close_all` | _(optional)_ if set to `true`, the group of accordions will |
| `expanded_id` | _(optional)_ define an `id` of a nested accordion that will get expanded. |
| [Space](/uilib/components/space/properties) | _(optional)_ spacing properties like `top` or `bottom` are supported. |
| Accordion.Provider and Accordion.Group Properties | Description |
| ------------------------------------------------- | ---------------------------------------------------------------------------------------- |
| `group` | _(optional)_ define a unique id, it will be used to "group" several accordions into one. |
| `allow_close_all` | _(optional)_ if set to `true`, the group of accordions will allow all to close. |
| `expanded_id` | _(optional)_ define an `id` of a nested accordion that will get expanded. |
| [Space](/uilib/components/space/properties) | _(optional)_ spacing properties like `top` or `bottom` are supported. |

0 comments on commit 2790302

Please sign in to comment.