If we are not already exporting the new types from index, we should export them, like we do for other component types
Previously, DropdownOption was generic, so we were able to type its Id and Context, like this: DropdownOption<UserType>. But with Select changes, we lost this feature.
index
, we should export them, like we do for other component typesPreviously,
DropdownOption
was generic, so we were able to type itsId
andContext
, like this:DropdownOption<UserType>
. But with Select changes, we lost this feature.Before:
Now:
We should try to restore this.