diff --git a/docs/basic-pagination.md b/docs/basic-pagination.md index 18d504c..60ae5a6 100644 --- a/docs/basic-pagination.md +++ b/docs/basic-pagination.md @@ -100,7 +100,7 @@ const paginationOption = { ```js { ({ @@ -121,7 +121,7 @@ const paginationOption = { So far, your customization pagination should look like it: ```js { ({ @@ -192,7 +192,22 @@ import paginationFactory, { ``` -That's it!! The benifit for using standalone is you can much easier to render the standalone component in any posistion. In the future, we will implement more featue like applying `style`, `className` etc on standalone components. +That's it!! The benifit for using standalone is you can much easier to render the standalone component in any posistion. In the future, we will implement more featue like applying `style`, `className` etc on standalone components. + + +
Customizable props on `PaginationListStandalone`
+* N/A + +
Customizable props on `SizePerPageDropdownStandalone`
+* `open`: true to make dropdown show. +* `hidden`: true to hide the size per page dropdown. +* `btnContextual`: Set the button contextual. +* `variation`: Variation for dropdown, available value is `dropdown` and `dropup`. +* `className`: Custom the class on size per page dropdown + +
Customizable props on `SizePerPageDropdownStandalone`
+* N/A + #### 4.2 Customization Everything @@ -227,7 +242,7 @@ onPageChange, onSizePerPageChange ``` -In most of case, `page`, `sizePerPage`, `onPageChange` and `onSizePerPageChange` are much important properties for you: +In most of case, `page`, `sizePerPage`, `onPageChange` and `onSizePerPageChange` are most important properties for you: * `page`: Current page. * `sizePerPage`: Current size per page. diff --git a/docs/basic-search.md b/docs/basic-search.md index 8b7eff2..34bba60 100644 --- a/docs/basic-search.md +++ b/docs/basic-search.md @@ -51,6 +51,19 @@ const { SearchBar } = Search; * You should render `SearchBar` with `searchProps` as well. The `SearchBar` position is depends on you. +### `SearchBar` Props + +#### className - [string] +Custom the class on input element. + +#### placeholder - [string] +Custom the placeholder on input element. + +#### style - [object] +Custom the style on input element. + +#### delay = [number] +milionsecond for debounce user input. ## Customize Search Component diff --git a/website/blog/2019-03-10-version-bump.md b/website/blog/2019-03-10-version-bump.md new file mode 100644 index 0000000..bed7adf --- /dev/null +++ b/website/blog/2019-03-10-version-bump.md @@ -0,0 +1,28 @@ +--- +title: New Release (2019-03-10) +author: Allen Fang +authorURL: https://twitter.com/allenfang_tw +--- + +## Changed Packages + +We got following package version bump in this release: + +* `react-bootstrap-table-next@3.0.1` +* `react-bootstrap-table2-filter@1.1.6` +* `react-bootstrap-table2-paginator@2.0.4` +* `react-bootstrap-table2-toolkit@1.3.2` + +## Changelog + +### Bug fixes +* Fixed `btnContextual` prop on `SizePerPageDropdownStandalone` not passed to `SizePerPageDropdown`([3af30a0](https://github.com/react-bootstrap-table/react-bootstrap-table2/commit/3af30a02659ad81b39952ce845af2abbf0cd71f4)) +* Fixed expanded row column span does not update([#837](https://github.com/react-bootstrap-table/react-bootstrap-table2/pull/837)) +* Fixed column filter with custom pagination is not work well([921e8c7](https://github.com/react-bootstrap-table/react-bootstrap-table2/commit/921e8c7ecc3cc12f5fb5bd94d446b7a2f9141ddc)) +* Fixed pagination is not work well when data delete or insert([e9f08d2](https://github.com/react-bootstrap-table/react-bootstrap-table2/commit/e9f08d278d8e70df8ddbbcd533a8478070cf25de)) + +### Features +N/A + +### Enhancements +N/A \ No newline at end of file