Skip to content

Commit

Permalink
Added expanded parameter to renderHeader callback method.
Browse files Browse the repository at this point in the history
  • Loading branch information
akhil-ga committed Jun 21, 2018
1 parent 0b4e5af commit 05d75c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/basic/Accordion.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class AccordionItem extends React.Component {
>
<View>
{this.props.renderHeader ? (
this.props.renderHeader(this.props.item.title)
this.props.renderHeader(this.props.item.title, this.props.expanded)
) : (
<DefaultHeader
title={this.props.item.title}
Expand Down

0 comments on commit 05d75c4

Please sign in to comment.