Skip to content

Commit 3d13dda

Browse files
committed
[fixed] react-bootstrap#1287 ListGroupItem with onClick and header properly displays header
1 parent 341cdb0 commit 3d13dda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ListGroupItem.js

+1-1
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)