# react-native-horizontal-picker-q5

> Horizontally scrolling picker component for React Native

Latest version **1.0.9** (published 2019-07-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-horizontal-picker-q5
pnpm add react-native-horizontal-picker-q5
yarn add react-native-horizontal-picker-q5
bun add react-native-horizontal-picker-q5
```

## 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.9 |
| Published | 2019-07-27 |
| First published | 2018-09-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 11.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Mikko Välimäki |
| Maintainers | lightning.lu10 |
| Keywords | react-native, picker |

## Links

- npm: https://www.npmjs.com/package/react-native-horizontal-picker-q5
- Repository: https://github.com/quantfive/react-native-hpicker
- Homepage: https://github.com/quantfive/react-native-hpicker#readme
- Issues: https://github.com/quantfive/react-native-hpickerissues
- npm.io page: https://npm.io/package/react-native-horizontal-picker-q5

## Recent versions

- 1.0.9 (latest) — 2019-07-27
- 1.0.8 — 2019-07-19
- 1.0.6 — 2019-02-05
- 1.0.5 — 2018-09-14

## README

# react-native-hpicker

`<HorizontalPicker/>` is a horizontally scrolling picker component. The goal of this component is to be a drop-in replacement for the bundled `<Picker/>`, but to introduce a nicer and more compact layout.

## Installation

You install the picker by running `npm install --save react-native-hpicker`. Then, simply import the component: `import HorizontalPicker from 'react-native-hpicker';` and you're good to go.

## Example

```
import HorizontalPicker from 'react-native-hpicker';

/* ... */

<HorizontalPicker
  style={/* Whatever you want */}
  itemWidth={70}
  selectedValue={this.state.pickerValue}
  foregroundColor='gray'
  onChange={(pickerValue) => this.setState({pickerValue})}>
  <HorizontalPicker.Item label={1} value={1} />
  <HorizontalPicker.Item label={2} value={2} />
  <HorizontalPicker.Item label={3} value={3} />
</HorizontalPicker>

```

## Component properties

**TODO:** List the props here.

## TODOs

- Improve docs
- Add tests

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