Skip to content

Commit 6b7bf4e

Browse files
committed
Merge pull request react-bootstrap#1367 from apkiernan/listGroupItem
[fixed] react-bootstrap#1287 ListGroupItem with onClick and header properly display header
2 parents 341cdb0 + 3d13dda commit 6b7bf4e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ListGroupItem.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const ListGroupItem = React.createClass({
6565
type="button"
6666
{...this.props}
6767
className={classNames(this.props.className, classes)}>
68-
{this.props.children}
68+
{this.props.header ? this.renderStructuredContent() : this.props.children}
6969
</button>
7070
);
7171
},

0 commit comments

Comments
 (0)