mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00:00
Update react-router-tests.tsx
This commit is contained in:
@@ -93,10 +93,12 @@ class NotFound extends React.Component<{}, {}> {
|
||||
|
||||
}
|
||||
|
||||
interface UsersProps extends RouteComponentProps<{}, {}> { }
|
||||
|
||||
class Users extends React.Component<{}, {}> {
|
||||
class Users extends React.Component<UsersProps, {}> {
|
||||
|
||||
render() {
|
||||
const { location, params, routes, routes, router, routeParams } = this.props;
|
||||
return <div>
|
||||
This is a user list
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user