# @jamieparkinson/react-native-android-checkbox

> Checkbox component for React Native

Latest version **3.0.0** (published 2017-05-03) · ISC license · 0 weekly downloads

## Install

```sh
npm install @jamieparkinson/react-native-android-checkbox
pnpm add @jamieparkinson/react-native-android-checkbox
yarn add @jamieparkinson/react-native-android-checkbox
bun add @jamieparkinson/react-native-android-checkbox
```

## 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 | 3.0.0 |
| Published | 2017-05-03 |
| First published | 2016-12-06 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 17 |
| Author | Mike Monteith |
| Maintainers | jamieparkinson |
| Keywords | Checkbox, react-native |

## Links

- npm: https://www.npmjs.com/package/@jamieparkinson/react-native-android-checkbox
- Repository: https://github.com/mikemonteith/react-native-android-checkbox
- Homepage: https://github.com/mikemonteith/react-native-android-checkbox#readme
- Issues: https://github.com/mikemonteith/react-native-android-checkbox/issues
- npm.io page: https://npm.io/package/@jamieparkinson/react-native-android-checkbox

## Recent versions

- 3.0.0 (latest) — 2017-05-03
- 2.0.1-rc3 — 2016-12-06
- 2.0.1-rc2 — 2016-12-06
- 2.0.1 — 2016-12-06
- 2.0.0 — 2016-12-06

## README

# react-native-android-checkbox

A React Native checkbox using the stock android widget

![Checkbox Example App](./example/screencast.gif)

## Installation

#### Install the npm package

`npm install --save react-native-android-checkbox`

#### Link the android library

`react-native link react-native-android-checkbox`

## Basic Usage

The checkbox component works in exactly the same way as React.Switch

```js
import React from 'react'
import Checkbox from 'react-native-android-checkbox'

class ExampleComponent extends React.Component {
  constructor() {
    super()
    this.state = {
      value: false
    }
  }

  render() {
    return (
      <Checkbox
        value={this.state.value}
        disabled={false}
        onValueChange={(value) => {
          this.setState({ value })
        }}
      />
    )
  }
}
```

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