Skip to content

Commit

Permalink
[fixed] react-bootstrap#1287 ListGroupItem with onClick and header pr…
Browse files Browse the repository at this point in the history
…operly displays header
  • Loading branch information
apkiernan committed Oct 1, 2015
1 parent 341cdb0 commit 3d13dda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ListGroupItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}
</button>
);
},
Expand Down

0 comments on commit 3d13dda

Please sign in to comment.