# react-native-cmbutton

> this is common button for react-native

Latest version **0.0.3** (published 2019-05-16) · ISC license · 0 weekly downloads

## Install

```sh
npm install react-native-cmbutton
pnpm add react-native-cmbutton
yarn add react-native-cmbutton
bun add react-native-cmbutton
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2019-05-16 |
| First published | 2019-05-15 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | lsman |
| Maintainers | lsman |
| Keywords | ["react-native", "dialog", "react-native-button"] |

## Links

- npm: https://www.npmjs.com/package/react-native-cmbutton
- Repository: https://github.com/lisong15/react-native-components
- Homepage: https://github.com/lisong15/react-native-components#readme
- Issues: https://github.com/lisong15/react-native-components/issues
- npm.io page: https://npm.io/package/react-native-cmbutton

## Alternatives

- [react-native-root-siblings](https://npm.io/package/react-native-root-siblings.md) — 102.9K weekly downloads
- [@praxisui/dialog](https://npm.io/package/@praxisui/dialog.md) — 2.0K weekly downloads
- [easy-toggle-state](https://npm.io/package/easy-toggle-state.md) — 350 weekly downloads
- [ngx-lightbox-evp](https://npm.io/package/ngx-lightbox-evp.md) — 19 weekly downloads
- [react-native-modal-translucent-axton](https://npm.io/package/react-native-modal-translucent-axton.md) — 4 weekly downloads

## Recent versions

- 0.0.3 (latest) — 2019-05-16
- 0.0.2 — 2019-05-15
- 0.0.1 — 2019-05-15

## README

![image](https://github.com/lisong15/react-native-components/blob/master/imgs/button.png?raw=true)
### how to install ?
`npm install react-native-common_button --save`
or use yarn
`yarn add react-native-common_button`

### how to use
```
import Btn from 'react-native-common_button'
 _onBtnB() {
        alert('Btn click in');
    };
<Btn onBtnClick={this._onBtnB}/>
```

more props are follows:
```
btnText: string,
btnColor: object,
btnWidth: number,
btnHeight: number,
btnRadius: number,
btnTextSize: number,
btnTextColor: object,
onBtnClick: func.isRequired
```
THANKS PALS ~

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