diff --git a/docs/filter-props.md b/docs/filter-props.md index fdcee94..f160c9d 100644 --- a/docs/filter-props.md +++ b/docs/filter-props.md @@ -6,14 +6,21 @@ title: Column Filter Props ## Content Table +* [Getting Started](#getting-started) * [How to use](#how-to-use) -* [FilterFactory Props](#filterfactory-props) -* [Filters](#filters-props) +* [Props of FilterFactory](#props-of-filterfactory) +* [Props of Filters](#props-of-filters) * [textFilter](#1-textfilter) * [selectFilter](#2-selectFilter) * [numberFilter](#3-numberFilter) * [Comparator](#comparator) +## Getting Started +``` +$ npm install react-bootstrap-table2-filter --save +``` +After installing `react-bootstrap-table2-filter`, you can configure `filter` on table as following instruction. + ## How to use You should apply following **2** to enable `filter` functionality for `react-bootstrap-table2`. * `filterFactory` diff --git a/docs/table-props.md b/docs/table-props.md index eb26e59..5fe1ec6 100644 --- a/docs/table-props.md +++ b/docs/table-props.md @@ -233,11 +233,11 @@ paginationFactory({ `filter` allows users to filter data by columns. For more information, please navigate to [filter-props](./filter-props.html). **Getting Started** -```sh +``` $ npm install react-bootstrap-table2-filter --save ``` -After installation of `react-bootstrap-table2-filter`, you can configure filter on table easily: +After installing `react-bootstrap-table2-filter`, you could easily enable the functionality of `filter`. **Example** ```js