Skip to content

Commit 1f54814

Browse files
authored
fix: update useComboBoxState to include generic type for ComboBoxState return type (adobe#9782)
1 parent d203c9d commit 1f54814

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@react-stately/combobox/src/useComboBoxState.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ const EMPTY_VALUE: Key[] = [];
8989
* of items from props and manages the option selection state of the combo box. In addition, it tracks the input value,
9090
* focus state, and other properties of the combo box.
9191
*/
92-
export function useComboBoxState<T extends object, M extends SelectionMode = 'single'>(props: ComboBoxStateOptions<T, M>): ComboBoxState<T> {
92+
export function useComboBoxState<T extends object, M extends SelectionMode = 'single'>(props: ComboBoxStateOptions<T, M>): ComboBoxState<T, M> {
9393
let {
9494
defaultFilter,
9595
menuTrigger = 'input',

0 commit comments

Comments
 (0)