# 2r-button

> 2R library button component implemented in React

Latest version **1.0.6** (published 2015-09-01) · WTFPL-2.0 license · 0 weekly downloads

## Install

```sh
npm install 2r-button
pnpm add 2r-button
yarn add 2r-button
bun add 2r-button
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2015-09-01 |
| First published | 2015-08-20 |
| Weekly downloads | 0 |
| License | WTFPL-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Vlad "Reign" Zelinschi |
| Maintainers | thereignn |
| Keywords | react, button, react-buton, button-component, react-button-component, react-component, react button |

## Links

- npm: https://www.npmjs.com/package/2r-button
- Repository: https://github.com/vladzelinschi/2r-button
- Issues: https://github.com/vladzelinschi/2r-button/issues
- npm.io page: https://npm.io/package/2r-button

## Dependencies (1)

- [react](https://npm.io/package/react.md) ^0.13.3

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.6 (latest) — 2015-09-01
- 1.0.5 — 2015-08-22
- 1.0.4 — 2015-08-22
- 1.0.3 — 2015-08-22
- 1.0.2 — 2015-08-21
- 1.0.1 — 2015-08-20
- 1.0.0 — 2015-08-20

## README

# 2r-button

2R library button component implemented in React.


## Instalation

`2r-button` is available as an npm package. Simply run `npm install 2r-button` command.

To use it in your project:

    import button from '2r-button'; // ES6 syntax
    var button = require('2r-button'); // ES5 syntax


## Usage & API

The following props can be passed to the component:

- `disabled` (Boolean): whether the button is disabled or not (defaults to `false`)

- `text` (String): the text of the button (defaults to `Button`)

- `classes` (String): a string of multiple classes, separated by space (defaults to `''`)

- `onClick` (Function): the callback function to be executed when button is pressed


## Examples

There is an examples folder inside the project with a minimum config. Steps to run:

- Clone the project and

- Run `npm install`

- Run `gulp examples`

- Navigate to `http://localhost:5000`


## License

This software is released under the terms of [WTFPL v2.0 license](http://www.wtfpl.net/).

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