Skip to content

Commit

Permalink
Merge pull request #1960 from pyojo/patch-1
Browse files Browse the repository at this point in the history
Accordion: Add event parameter in example code
  • Loading branch information
interactivellama committed May 2, 2019
2 parents 3b5df13 + 384da84 commit e0f06ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/accordion/__examples__/base.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class Example extends React.Component {
id={item.id}
panelContentActions={this.menuDropdown(item)}
key={item.id}
onTogglePanel={() => this.togglePanel(event, item)}
onTogglePanel={(event) => this.togglePanel(event, item)}
summary={item.summary}
>
{item.details}
Expand Down

0 comments on commit e0f06ad

Please sign in to comment.