From 05d75c41127601e86a424be16c48ce4646578ca6 Mon Sep 17 00:00:00 2001 From: akhil-geekyants Date: Thu, 21 Jun 2018 12:03:22 +0530 Subject: [PATCH] Added expanded parameter to renderHeader callback method. --- src/basic/Accordion.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/basic/Accordion.js b/src/basic/Accordion.js index 5fcbdef96..dea29c9eb 100644 --- a/src/basic/Accordion.js +++ b/src/basic/Accordion.js @@ -100,7 +100,7 @@ class AccordionItem extends React.Component { > {this.props.renderHeader ? ( - this.props.renderHeader(this.props.item.title) + this.props.renderHeader(this.props.item.title, this.props.expanded) ) : (