# @types/react-fontawesome

> TypeScript definitions for react-fontawesome

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

## Install

```sh
npm install @types/react-fontawesome
pnpm add @types/react-fontawesome
yarn add @types/react-fontawesome
bun add @types/react-fontawesome
```

## 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.6.8 |
| Published | 2023-11-07 |
| First published | 2016-09-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 5.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51395 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/react-fontawesome
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-fontawesome
- npm.io page: https://npm.io/package/@types/react-fontawesome

## Dependencies (1)

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

## Recent versions

- 1.6.8 (latest) — 2023-11-07
- 1.6.5 (ts3.6) — 2021-07-07
- 1.6.4 (ts2.8) — 2018-08-04
- 1.6.3 (ts2.6) — 2018-05-05
- 1.6.1 (ts2.3) — 2017-08-14
- 1.5.0 (ts2.1) — 2017-02-23
- 1.1.0 (ts2.0) — 2016-12-30
- 1.6.7 — 2023-10-18
- 1.6.6 — 2023-09-27
- 1.6.2 — 2018-02-12
- 1.6.0 — 2017-07-14
- 1.5.1 — 2017-06-23
- 1.1.1 — 2017-01-23
- 0.0.2 — 2016-11-21
- 0.0.1 — 2016-09-19

## README

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

export = FontAwesome;

interface Intermediate extends React.AllHTMLAttributes<HTMLElement> {
    size?: any;
}

declare namespace FontAwesome {
    type FontAwesomeSize = "lg" | "2x" | "3x" | "4x" | "5x";
    type FontAwesomeStack = "1x" | "2x";
    type FontAwesomeFlip = "horizontal" | "vertical";

    interface FontAwesomeProps extends Intermediate {
        ariaLabel?: string | undefined;
        border?: boolean | undefined;
        cssModule?: any;
        fixedWidth?: boolean | undefined;
        flip?: FontAwesomeFlip | undefined;
        inverse?: boolean | undefined;
        name: string;
        pulse?: boolean | undefined;
        rotate?: number | undefined;
        size?: FontAwesomeSize | undefined;
        spin?: boolean | undefined;
        stack?: FontAwesomeStack | undefined;
        tag?: string | undefined;
    }
}

declare class FontAwesome extends React.Component<FontAwesome.FontAwesomeProps> {}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: [@types/react](https://npmjs.com/package/@types/react)

# Credits
These definitions were written by [Timur Rustamov](https://github.com/timurrustamov), [Anton Kandybo](https://github.com/dublicator), [Vincas Stonys](https://github.com/vincaslt), and [Gavin Gregory](https://github.com/gavingregory).

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