Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ncovercash authored Jan 8, 2024
1 parent b9e7559 commit fa38300
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/SearchAndSort/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ onCloseNewRecord | func | Callback for when the new record layer is closed
onComponentWillUnmount | func | Exposes React `componentWillUnmount`. Called with all of this component's props
onResetAll | func | Callback for when all filters/search is reset/cleared
resultsOnNeedMore | func | Custom data-fetching function, triggered when getting near the end of the fetched data. Void return, accepts an object with `records`, `source`, `direction`, `index`, `firstIndex`, and `askAmount`
showSingleResult | boolean | Whether to auto-show the details record when a search returns a single row
validateSearchOnSubmit | func | Validates the search query (passed as a parameter) before submission. Submission will be prevented if this returns false.

See ui-users' top-level component [`<Users.js>`](https://github.com/folio-org/ui-users/blob/master/Users.js) for an example of how to use `<SearchAndSort>`.

Expand Down

0 comments on commit fa38300

Please sign in to comment.