0.1.0 • Published 6 months ago

rn-simple-picker v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Android/iOS Compatible Dropdown

Installation

npm install rn-simple-picker

Usage

import Picker from 'rn-simple-picker';

<Picker
  items={[
    {
      label: 'One',
      value: 1,
      // "random": "data"
    },
    {
      label: 'Two',
      value: 2,
      // "random": "data"
    },
  ]}
  onSelect={(item) => this.handleSelect(item)}
  selectedItem={{ label: 'One', value: 1 }} // User already selected item - optional
  placeHolder="Choose Your Number" // optional
  containerStyles={{ borderWidth: 2, borderColor: 'blue' }} // optional
  inputStyle={{ textAlign: 'center' }} // optional
  iconStyle={{ width: 45, height: 45 }} // optional
/>;

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

0.1.0

6 months ago

0.0.5

6 months ago

0.0.4

6 months ago

0.0.3

6 months ago

0.0.2

6 months ago

0.0.1

6 months ago