tweak for naming

This commit is contained in:
AllenFang 2018-01-20 15:30:55 +08:00
parent 8b58a57ad2
commit f8014b6162
5 changed files with 20 additions and 14 deletions

View File

@ -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
* 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!!!!

View File

@ -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!
[`column.validator`](./column-props.html#columnvalidator-function) will help you to work on it!

View File

@ -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

View File

@ -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 = [{

View File

@ -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)