mirror of
https://github.com/gosticks/react-bootstrap-table2.git
synced 2026-08-16 21:50:17 +00:00
no need BootstrapTableful anymore
* refine BootstrapTableful -> BootstrapTable * refine stateful-layer as container
This commit is contained in:
+2
-2
@@ -4,7 +4,7 @@
|
||||
import React from 'react';
|
||||
import ReactDom from 'react-dom';
|
||||
|
||||
import { BootstrapTableful, createTable } from 'react-bootstrap-table2';
|
||||
import BootstrapTable from 'react-bootstrap-table2';
|
||||
|
||||
require('react-bootstrap-table2/style/react-bootstrap-table.scss');
|
||||
|
||||
@@ -114,5 +114,5 @@ const cellEdit = {
|
||||
// Table = createTable(Table);
|
||||
|
||||
ReactDom.render(
|
||||
<BootstrapTableful keyField="id" data={ products } columns={ columns } cellEdit={ cellEdit } />,
|
||||
<BootstrapTable keyField="id" data={ products } columns={ columns } cellEdit={ cellEdit } />,
|
||||
document.getElementById('example'));
|
||||
|
||||
Reference in New Issue
Block a user