diff --git a/docs/about.md b/docs/about.md index 9ec511f..22dd6be 100644 --- a/docs/about.md +++ b/docs/about.md @@ -13,4 +13,6 @@ sidebar_label: About * Improve the [`remote mode`](https://allenfang.github.io/react-bootstrap-table/docs.html#remote) * Improve handling of DOM events well * Support nest data -* Support table footer \ No newline at end of file +* Support table footer + +> Due to `react-bootstrap-table2` already taked on npm so that our npm module name is **`react-bootstrap-table-next`**. Anyway, we still use or mention `react-bootstrap-table2` in any our git repository, offical website and documents!!, ony the npm name is different!!!! \ No newline at end of file diff --git a/docs/basic-celledit.md b/docs/basic-celledit.md index f0745a3..bbc047a 100644 --- a/docs/basic-celledit.md +++ b/docs/basic-celledit.md @@ -56,8 +56,8 @@ Currently, we only support the editing cell style/class customization, in the fu ### Editing Cell * Customize the editing cell style via [column.editCellStyle](./column-props.html#columneditcellstyle-object-function) -* Customize the editing cell classname via [column.editCellStyle](./column-props.html#columneditcellstyle-object-function) +* Customize the editing cell classname via [column.editCellClasses](./column-props.html#columneditcellclasses-string-function) ## Validation -[`column.validator`](./column-props.html#columnvalidator-function) will help you to work on it! \ No newline at end of file +[`column.validator`](./column-props.html#columnvalidator-function) will help you to work on it! diff --git a/docs/basic-pagination.md b/docs/basic-pagination.md index 117e7fb..0b14392 100644 --- a/docs/basic-pagination.md +++ b/docs/basic-pagination.md @@ -15,6 +15,15 @@ sidebar_label: Pagination ```sh $ npm install react-bootstrap-table2-pagination --save ``` +## Add CSS + +```js +// es5 +require('react-bootstrap-table2-paginator/dist/react-bootstrap-table2-paginator.min.css'); + +// es6 +import 'react-bootstrap-table2-paginator/dist/react-bootstrap-table2-paginator.min.css'; +``` ## How diff --git a/docs/getting-started.md b/docs/getting-started.md index f7072b0..a1a7207 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -6,8 +6,10 @@ sidebar_label: Getting Started ## Installation +> Due to `react-bootstrap-table2` already taked on npm so that our npm module name is **`react-bootstrap-table-next`**. Anyway, we still use or mention `react-bootstrap-table2` in any our git repository, offical website and documents!!, ony the npm name is different!!!! + ```sh -$ npm install react-bootstrap-table2 --save +$ npm install react-bootstrap-table-next --save ``` ## Add CSS @@ -18,16 +20,16 @@ Finish above step, let's add the `react-bootstrap-table2` styles: ```js // es5 -require('react-bootstrap-table/dist/react-bootstrap-table2.min.css'); +require('react-bootstrap-table-next/dist/react-bootstrap-table2.min.css'); // es6 -import 'react-bootstrap-table/dist/react-bootstrap-table2.min.css'; +import 'react-bootstrap-table-next/dist/react-bootstrap-table2.min.css'; ``` ## Your First Table ```js -import BootstrapTable from 'react-bootstrap-table2'; +import BootstrapTable from 'react-bootstrap-table-next'; const products = [ ... ]; const columns = [{ diff --git a/docs/usage.md b/docs/usage.md deleted file mode 100644 index 3432c41..0000000 --- a/docs/usage.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -id: usage -title: document number 2 ---- - -This is a link to [another document.](/docs/en/doc3.md) -This is a link to an [external page.](http://www.example.com)