AllenFang / AllenFang/react-bootstrap-table
Failed prop type: Invalid prop `colGroups` of type `object` supplied to `TableHeader`, expected a single ReactElement.
- 主要言語
- JavaScript
- スター
- 2.2k
- フォーク
- 761
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Bootstrap table renders without any problem, but console is showing a warning.
Using version 4.20
Warning only happens in IE
**Warning in IE Console:**
> Failed prop type: Invalid prop `colGroups` of type `object` supplied to `TableHeader`, expected a single ReactElement.
> in TableHeader (created by BootstrapTable)
> in BootstrapTable (created by ClaimParts)
> in ClaimParts (created by Connect(ClaimParts))
> in Connect(ClaimParts) (created by WarrantyClaimForm)
> in div (created by WarrantyClaimForm)
> in div (created by BlockUi)
> in BlockUi (created by WarrantyClaimForm)
> in WarrantyClaimForm (created by Connect(WarrantyClaimForm))
> in Connect(WarrantyClaimForm) (created by AuthenticatedComponent)
> in AuthenticatedComponent (created by Connect(AuthenticatedComponent))
> in Connect(AuthenticatedComponent) (created by Route)
> in Route
> in div (created by Layout)
> in div (created by Layout)
> in Layout
> in Router
> in Provider
> in AppContainer
**Sample code**
```
let testData = [
{ owner: "Bob's Potato Farm", model: "NX451 HST", serial: "123456", status: "Draft", created: '6/01/17', modified: '6/05/17' },
{ owner: "Contentnea Jct Apples", model: "RS6620 Cab", serial: "34232", status: "Approved", created: '6/06/17', modified: '6/15/17' },
{ owner: "Aebulon Stawberries", model: "RS6010 Cab", serial: "5043511", status: "Approved", created: '6/10/17', modified: '6/15/17' },
];
return
Owner's Name
Equipment Model
Serial #
Status
Created
Modified
```
コントリビューションガイド
評価
この issue はまだ評価されていません。