mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 15:00:26 +00:00
Fix definition of isActive prop to NavLink
This commit is contained in:
Vendored
+1
-1
@@ -50,7 +50,7 @@ declare module 'react-router-dom' {
|
||||
activeStyle?: React.CSSProperties;
|
||||
exact?: boolean;
|
||||
strict?: boolean;
|
||||
isActive?(location: H.Location, props: any): boolean;
|
||||
isActive?<P>(match: match<P>, location: H.Location): boolean;
|
||||
}
|
||||
class NavLink extends React.Component<NavLinkProps, void> {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user