Last active
May 31, 2020 19:28
-
-
Save janjakubnanista/c41309d0a5ed2d9a4082411aa7f8a9fe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export function Select<T>(props: SelectProps<T>) { | |
// This should not be allowed for React components! | |
return Promise.resolve(null); | |
} | |
// And we don't get a warning when defining defaultProps either :/ | |
Select.defaultProps = 7; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment