# @types/redux-first-router-link

> TypeScript definitions for redux-first-router-link

Latest version **1.4.9** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/redux-first-router-link
pnpm add @types/redux-first-router-link
yarn add @types/redux-first-router-link
bun add @types/redux-first-router-link
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.4.9 |
| Published | 2023-11-07 |
| First published | 2017-10-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 5.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51448 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/redux-first-router-link
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/redux-first-router-link
- npm.io page: https://npm.io/package/@types/redux-first-router-link

## Dependencies (2)

- [@types/react](https://npm.io/package/@types/react.md) *
- [@types/redux-first-router](https://npm.io/package/@types/redux-first-router.md) *

## Recent versions

- 1.4.9 (latest) — 2023-11-07
- 1.4.6 (ts4.2) — 2022-12-23
- 1.4.5 (ts3.6) — 2021-07-08
- 1.4.4 (ts2.8) — 2018-08-06
- 1.4.3 (ts2.6) — 2018-02-12
- 1.4.2 (ts2.4) — 2018-01-17
- 1.4.8 — 2023-10-18
- 1.4.7 — 2023-09-27
- 1.4.1 — 2017-11-30
- 1.4.0 — 2017-10-03

## README

# Installation
> `npm install --save @types/redux-first-router-link`

# Summary
This package contains type definitions for redux-first-router-link (https://github.com/faceyspacey/redux-first-router-link#readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/redux-first-router-link.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/redux-first-router-link/index.d.ts)
````ts
import * as React from "react";
import { Location } from "redux-first-router";

export type To = string | string[] | object;

export interface Match<P> {
    params: P;
    isExact: boolean;
    path: string;
    url: string;
}

// Unfortunately we can't pass `HTMLAnchorElement` since the `tagName` attribute allows you to use other tags than anchor.
export interface LinkProps extends React.HTMLAttributes<HTMLElement> {
    to: To;
    redirect?: boolean | undefined;
    replace?: boolean | undefined;
    tagName?: string | undefined;
    down?: boolean | undefined;
    shouldDispatch?: boolean | undefined;
    target?: string | undefined;
    children?: React.ReactNode;
}

export default class Link extends React.Component<LinkProps> {}

export interface NavLinkProps extends LinkProps {
    activeClassName?: string | undefined;
    activeStyle?: React.CSSProperties | undefined;
    ariaCurrent?: string | undefined;
    exact?: boolean | undefined;
    strict?: boolean | undefined;
    children?: React.ReactNode;
    isActive?(match: Match<object>, location: Location): boolean;
}

export class NavLink extends React.Component<NavLinkProps> {}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 15:11:36 GMT
 * Dependencies: [@types/react](https://npmjs.com/package/@types/react), [@types/redux-first-router](https://npmjs.com/package/@types/redux-first-router)

# Credits
These definitions were written by [janb87](https://github.com/janb87).

---
_Source: https://npm.io/package/@types/redux-first-router-link · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
