Commit 06d2761f authored by jnsone11's avatar jnsone11
Browse files

add react router typings

parent 4319a92e
import * as React from 'react'
import {Component} from 'react'
import {RouteComponentProps} from 'react-router-dom'
class Main extends Component {
interface Props {
}
class Main extends Component<RouteComponentProps<Props>> {
render(){
console.log(this.props);
return (
<h1>Main</h1>
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment