Skip to content

Commit

Permalink
Merge pull request chakra-ui#449 from ejirocodes/patch-1
Browse files Browse the repository at this point in the history
fix(docs): Reveals accordion opening hidden by comment
  • Loading branch information
codebender828 authored Jun 26, 2021
2 parents 29fe27a + d987a3f commit f9b9d41
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion website/pages/accordion.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,8 @@ Use the style prop `_expanded` to style this state.
The `CAccordionItem` component exposes a scoped slot with two variables: `isExpanded` and `isDisabled`.
In the example below, we change the icon rendered by the `CAccordionIcon` based on the `CAccordionItems` expanded state.

```vue live=true<c-accordion :allow-toggle="true">
```vue live=true
<c-accordion :allow-toggle="true">
<c-accordion-item>
<c-accordion-header>
<c-box flex="1" text-align="left">
Expand Down

0 comments on commit f9b9d41

Please sign in to comment.