Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib: Fix TypeScript error in TypeaheadSelect correctly
The "isDisabled" in the props needs to remain optional, otherwise every user has to provide it. The default value in the function does nothing for this. The real problem was assigning that to MenuToggleProps, but there the default value will make sure that isDisabled is not undefined anymore.
- Loading branch information