You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/hooks/useCombobox/README.md
+1-4Lines changed: 1 addition & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -292,10 +292,7 @@ how the component interacts with user updates. It gives you the current state
292
292
and the state that will be set, and you return the state that you want to set.
293
293
294
294
-`state`: The full current state of downshift.
295
-
-`actionAndChanges`: Object that contains the action `type`, props needed to
296
-
return a new state based on that type and the changes suggested by the
297
-
Downshift default reducer. About the `type` property you can learn more about
298
-
in the [`stateChangeTypes`](#statechangetypes) section.
295
+
-`actionAndChanges`: Object that contains the action `type`, the `props` passed to `useCombobox`, the `changes` suggested by the Downshift default reducer, and any action-specific fields (e.g. `altKey`, `key`, `index`). About the `type` property you can learn more about in the [`stateChangeTypes`](#statechangetypes) section.
Copy file name to clipboardExpand all lines: src/hooks/useSelect/README.md
+1-4Lines changed: 1 addition & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -234,10 +234,7 @@ how the component interacts with user updates. It gives you the current state
234
234
and the state that will be set, and you return the state that you want to set.
235
235
236
236
- `state`: The full current state of downshift.
237
-
- `actionAndChanges`: Object that contains the action `type`, props needed to
238
-
return a new state based on that type and the changes suggested by the
239
-
Downshift default reducer. About the `type` property you can learn more about
240
-
in the [`stateChangeTypes`](#statechangetypes) section.
237
+
- `actionAndChanges`: Object that contains the action `type`, the `props` passed to `useSelect`, the `changes` suggested by the Downshift default reducer, and any action-specific fields (e.g. `altKey`, `key`, `index`). About the `type` property you can learn more about in the [`stateChangeTypes`](#statechangetypes) section.
0 commit comments