Created
March 5, 2019 21:10
-
-
Save treyhuffine/30a4dde2ab45678a2a337ee4d5dfc806 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
interface FunctionComponent<P = {}> { | |
(props: P & { children?: ReactNode }, context?: any): ReactElement | null; | |
propTypes?: WeakValidationMap<P>; | |
contextTypes?: ValidationMap<any>; | |
defaultProps?: Partial<P>; | |
displayName?: string; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment