react-bootstrap-table: TableHeader: prop type `colGroups` is invalid
Hi š,
I am getting a warning:
Warning: Failed prop type: TableHeader: prop type colGroups
is invalid; it must be a function, usually from React.PropTypes.
in TableHeader (created by BootstrapTable)
with even the simple code as:
render() {
return (
<BootstrapTable data={[{id:1}]} >
<TableHeaderColumn isKey={true} dataField='id'>ID</TableHeaderColumn>
</BootstrapTable>
)
}
Using 15.4.1 react and latest version of react boostrap table
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 6
- Comments: 21 (9 by maintainers)
thanks for issue report, I think I made a little mistake on
v2.8.0
, Iāll fix it soon.hi all, this issue fixed on
v2.8.1
, let me know if this problem still remain.Looks great ! thank you for the quick fix.
Sorry, thatās my mistake, Iāve patch it on
v2.8.2
, please upgrade it. Let me know if problem still there.@AllenFang, whatever fix you applied in 2.8.1 seemed to fix the additional error about
"key" prop
I was seeing. Thanks!Great component! But we are having the same error of āTableHeader: prop type
colGroups
is invalidā. We are using React 15.4.1 with react-bootstrap-table 2.8.0 Thank you