# @types/react-github-button

> TypeScript definitions for react-github-button

Latest version **0.1.5** (published 2024-10-04) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 55/100 (C)** — status: stable.

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

Warnings: low downloads; no esm support; pre 1.0.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 0.1.5 |
| Published | 2024-10-04 |
| First published | 2019-04-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51438 |
| Maintainers | types |

## Links

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

## Dependencies (1)

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

## Recent versions

- 0.1.5 (latest) — 2024-10-04
- 0.1.4 (ts4.7) — 2023-11-07
- 0.1.1 (ts3.9) — 2021-07-08
- 0.1.0 (ts3.2) — 2019-04-19
- 0.1.3 — 2023-10-18
- 0.1.2 — 2023-09-27

## README

# Installation
> `npm install --save @types/react-github-button`

# Summary
This package contains type definitions for react-github-button (https://github.com/benjycui/react-github-button#readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-github-button.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-github-button/index.d.ts)
````ts
import { Component } from "react";

declare namespace ReactGitHubButton {
    interface ReactReactGitHubButtonProps {
        /**
         * The type of information to display
         */
        type: "stargazers" | "watchers" | "forks";
        /**
         * Your GitHub id or organization name.
         */
        namespace: string;
        /**
         * The name of your repository.
         */
        repo: string;
        /**
         * The size of the button. Leave undefined for default.
         */
        size?: "large" | undefined;
        /**
         * Optional classname for styling the button.
         */
        className?: string | undefined;
    }
}

declare class ReactGitHubButton extends Component<ReactGitHubButton.ReactReactGitHubButtonProps> {}

export = ReactGitHubButton;

````

### Additional Details
 * Last updated: Fri, 04 Oct 2024 16:42:27 GMT
 * Dependencies: [@types/react](https://npmjs.com/package/@types/react)

# Credits
These definitions were written by [Ifiok Jr.](https://github.com/ifiokjr).

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