# react-action-sheet-modal

> Proper handling of HTML actionSheet in react

Latest version **0.1.0** (published 2019-01-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-action-sheet-modal
pnpm add react-action-sheet-modal
yarn add react-action-sheet-modal
bun add react-action-sheet-modal
```

## 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.1.0 |
| Published | 2019-01-07 |
| First published | 2019-01-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 230.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | yajun.zhang |
| Keywords | action, action-sheet |

## Links

- npm: https://www.npmjs.com/package/react-action-sheet-modal
- npm.io page: https://npm.io/package/react-action-sheet-modal

## Dependencies (1)

- [unstated](https://npm.io/package/unstated.md) ^2.0.2

## Recent versions

- 0.1.0 (latest) — 2019-01-07

## README

# React Radios

Brings radio group behavior into line with other input types in React like the [select tag](https://reactjs.org/docs/forms.html#the-select-tag).

[https://jossmac.github.io/react-radios](https://jossmac.github.io/react-radios)

### Install

```bash
yarn add react-radios
```

### Use

```js
import { Radio, RadioGroup } from 'react-radios';

<RadioGroup value={this.state.fruit} onChange={this.handleChange}>
  <Radio value="apple" /> Apple
  <Radio value="orange" /> Orange
  <Radio value="banana" /> Banana
</RadioGroup>
```

If you'd like to use the same single-value pattern for checkboxes,
there's components for that too:

```js
import { Checkbox, CheckboxGroup } from 'react-radios';

<CheckboxGroup value={this.state.numbers} onChange={this.handleChange}>
  <Checkbox value={1} /> One
  <Checkbox value={2} /> Two
  <Checkbox value={3} /> Three
</CheckboxGroup>
```

### Props

#### RadioGroup / CheckboxGroup

| Property        | Description                      |
| --------------- | -------------------------------- |
| children `Node` | Required. Radios or Checkboxes. |
| component `$ReactComponent` | Default: `$ReactFragment`. Replace the underlying component. |
| onChange `value => mixed` | Required. Function to handle the onChange event. |
| name `string` | Name to be passed onto each child. |
| value `string \| number` | The value of the group. |

#### Radio / Checkbox

| Property        | Description                      |
| --------------- | -------------------------------- |
| component `$ReactComponent` | Default: `'input'`. Replace the underlying component. |
| value `string \| number` | The value of the control. |

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