@types/react-router-dom
Advanced tools
Comparing version 5.1.8 to 5.1.9
@@ -74,3 +74,3 @@ // Type definitions for React Router 5.1 | ||
export interface NavLinkProps<S = H.LocationState> extends LinkProps<S> { | ||
export interface NavLinkProps<S = H.LocationState> extends Omit<LinkProps<S>, "className" | "style"> { | ||
activeClassName?: string | undefined; | ||
@@ -82,2 +82,6 @@ activeStyle?: React.CSSProperties | undefined; | ||
location?: H.Location<S> | undefined; | ||
className?: string | ((isActive: boolean) => string); | ||
style?: | ||
| React.CSSProperties | ||
| ((isActive: boolean) => React.CSSProperties); | ||
} | ||
@@ -84,0 +88,0 @@ export function NavLink<S = H.LocationState>( |
{ | ||
"name": "@types/react-router-dom", | ||
"version": "5.1.8", | ||
"version": "5.1.9", | ||
"description": "TypeScript definitions for React Router", | ||
@@ -52,4 +52,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-router-dom", | ||
}, | ||
"typesPublisherContentHash": "a9c4ee6f58ce26a4d68b5b190543904889265b7ea7713a642bf99d73a2c07e9a", | ||
"typeScriptVersion": "3.6" | ||
"typesPublisherContentHash": "5e0901cfbc4350ef57cf07c56c5c4ac2290dcbb8f803f384ea37ca3ee01a8e0b", | ||
"typeScriptVersion": "3.7" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Wed, 07 Jul 2021 17:33:59 GMT | ||
* Last updated: Tue, 14 Sep 2021 14:31:38 GMT | ||
* Dependencies: [@types/react-router](https://npmjs.com/package/@types/react-router), [@types/react](https://npmjs.com/package/@types/react), [@types/history](https://npmjs.com/package/@types/history) | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7222
86