🚀 Big News:Socket Has Acquired Secure Annex.Learn More
Socket
Book a DemoSign in
Socket

@types/react-router-bootstrap

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-router-bootstrap - npm Package Compare versions

Comparing version
0.26.4
to
0.26.5
+28
react-router-bootstrap/lib/LinkContainer.d.ts
import type { ComponentClass, CSSProperties, MouseEventHandler, ReactNode } from "react";
// See https://github.com/react-bootstrap/react-router-bootstrap/blob/master/src/LinkContainer.js
interface LinkContainerProps {
children: ReactNode;
onClick?: MouseEventHandler<HTMLElement>;
replace?: boolean;
to: To;
state?: object;
className?: string;
activeClassName?: string;
style?: CSSProperties;
activeStyle?: CSSProperties;
isActive?: ((match: any, location: any) => boolean) | boolean;
}
type To = string | Partial<Path>;
interface Path {
pathname: string;
search: string;
hash: string;
}
type LinkContainer = ComponentClass<LinkContainerProps>;
declare const LinkContainer: LinkContainer;
export default LinkContainer;
+2
-2
{
"name": "@types/react-router-bootstrap",
"version": "0.26.4",
"version": "0.26.5",
"description": "TypeScript definitions for react-router-bootstrap",

@@ -40,4 +40,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-router-bootstrap",

},
"typesPublisherContentHash": "68ab80549367fa23886e95470947c56fa6aa9ac88daa3e90b9249c573c20c130",
"typesPublisherContentHash": "f4143d8ae82137664e12e76bc7a604d27c66cd81443e56b63db03426bd0317ed",
"typeScriptVersion": "4.5"
}

@@ -9,10 +9,5 @@ # Installation

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-router-bootstrap.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-router-bootstrap/index.d.ts)
````ts
export { default as LinkContainer } from "react-router-bootstrap/lib/LinkContainer";
````
### Additional Details
* Last updated: Wed, 18 Oct 2023 11:45:06 GMT
* Last updated: Wed, 18 Oct 2023 18:04:04 GMT
* Dependencies: [@types/react](https://npmjs.com/package/@types/react)

@@ -19,0 +14,0 @@