Skip to content

Commit cfefe77

Browse files
SAY-5silviuaavram
andauthored
docs(useMultipleSelection): remove itemToString prop references (#1684)
Co-authored-by: Silviu Alexandru Avram <silviu.avram91@gmail.com>
1 parent efe364e commit cfefe77

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

src/hooks/useMultipleSelection/README.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ starting with v8. They are documented here:
5151

5252
- [Usage](#usage)
5353
- [Basic Props](#basic-props)
54-
- [itemToString](#itemtostring)
5554
- [onSelectedItemsChange](#onselecteditemschange)
5655
- [stateReducer](#statereducer)
5756
- [Advanced Props](#advanced-props)
@@ -317,14 +316,6 @@ The equivalent example with `useSelect` is [here][select-sandbox-example].
317316
This is the list of props that you should probably know about. There are some
318317
[advanced props](#advanced-props) below as well.
319318

320-
### itemToString
321-
322-
> `function(item: any)` | defaults to: `i => (i == null ? '' : String(i))`
323-
324-
If your items are stored as, say, objects instead of strings, downshift still
325-
needs a string representation for each one. This is required for accessibility
326-
aria-live messages (e.g., after removing a selection).
327-
328319
### onSelectedItemsChange
329320

330321
> `function(changes: object)` | optional, no useful default

0 commit comments

Comments
 (0)