Created
September 5, 2018 17:40
-
-
Save svschannak/40718cbcf24ca8fa151cee9b730feba7 to your computer and use it in GitHub Desktop.
React Router Match and Typescript
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
interface NewsletterDetailProps extends RouteComponentProps<any>, React.Props<any> { | |
} | |
const NewsletterDetail: React.StatelessComponent<NewsletterDetailProps> = props => { | |
const match = props.match; | |
return ( | |
... | |
); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment