From 3d13dda132666809ebacdb1dfb474b1a06b37042 Mon Sep 17 00:00:00 2001 From: Andrew Kiernan Date: Thu, 1 Oct 2015 08:19:45 -0400 Subject: [PATCH] [fixed] #1287 ListGroupItem with onClick and header properly displays header --- src/ListGroupItem.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ListGroupItem.js b/src/ListGroupItem.js index ebcac22482..221b1de2b6 100644 --- a/src/ListGroupItem.js +++ b/src/ListGroupItem.js @@ -65,7 +65,7 @@ const ListGroupItem = React.createClass({ type="button" {...this.props} className={classNames(this.props.className, classes)}> - {this.props.children} + {this.props.header ? this.renderStructuredContent() : this.props.children} ); },