Skip to content

Commit de4eceb

Browse files
committed
Changeset
1 parent 5c99c9f commit de4eceb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.changeset/cool-rice-divide.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@leafygreen-ui/tabs': minor
3+
---
4+
5+
[LG-4694](https://jira.mongodb.org/browse/LG-4696): make `setSelected` type less restrictive. The type of `setSelected` was updated from `React.Dispatch<number>` to `React.Dispatch<React.SetStateAction<SelectedType>>` in [v13.1.0](https://github.com/mongodb/leafygreen-ui/blob/main/packages/tabs/CHANGELOG.md#1310) which was causing type errors for existing implementations. It is updated to `React.Dispatch<SelectedType> | React.Dispatch<React.SetStateAction<SelectedType>>`.4

0 commit comments

Comments
 (0)