Skip to content

Commit b87b7c4

Browse files
authored
Fix: SelectStateOptions is not exported in .d.ts (#4498)
1 parent 3dc445f commit b87b7c4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/@react-stately/select/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
44
* you may not use this file except in compliance with the License. You may obtain a copy
55
* of the License at http://www.apache.org/licenses/LICENSE-2.0
6-
*
6+
*
77
* Unless required by applicable law or agreed to in writing, software distributed under
88
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
99
* OF ANY KIND, either express or implied. See the License for the specific language
@@ -13,4 +13,4 @@
1313
export {useSelectState} from './useSelectState';
1414

1515
export type {SelectProps} from '@react-types/select';
16-
export type {SelectState} from './useSelectState';
16+
export type {SelectState, SelectStateOptions} from './useSelectState';

packages/react-stately/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export type {MenuTriggerProps, MenuTriggerState} from '@react-stately/menu';
2121
export type {OverlayTriggerProps, OverlayTriggerState} from '@react-stately/overlays';
2222
export type {RadioGroupProps, RadioGroupState} from '@react-stately/radio';
2323
export type {SearchFieldProps, SearchFieldState} from '@react-stately/searchfield';
24-
export type {SelectProps, SelectState} from '@react-stately/select';
24+
export type {SelectProps, SelectState, SelectStateOptions} from '@react-stately/select';
2525
export type {SliderState, SliderStateOptions} from '@react-stately/slider';
2626
export type {MultipleSelectionManager, MultipleSelectionState, SingleSelectionState} from '@react-stately/selection';
2727
export type {NumberFieldState, NumberFieldStateOptions} from '@react-stately/numberfield';

0 commit comments

Comments
 (0)