no need BootstrapTableful anymore

* refine BootstrapTableful -> BootstrapTable

* refine stateful-layer as container
This commit is contained in:
Allen
2017-10-17 04:30:23 -05:00
committed by GitHub
parent bc67dfcd23
commit 6887c12d11
41 changed files with 127 additions and 133 deletions
+2 -2
View File
@@ -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'));