@brasileiromaia/react-native-multiselect-dropdown

1.0.11 • Public • Published

React Native Multiselect Dropdown

install

yarn add @brasileiromaia/react-native-multiselect-dropdown

Import

import Select from '@brasileiromaia/react-native-multiselect-dropdown';

Usage

// The component receive the state and function that define a new state.
const [uf, setUf] = useState([]);

// The array needs has one id and name.

// Example:
// uf: {
//   id: 1,
//   name: 'Nome'
// }


// Every properties listed down are required.
<Select
  data={uf}
  setData={setUf}
  label="UF"
  palceholder="Selecionar seu estado"
/>

Readme

Keywords

none

Package Sidebar

Install

npm i @brasileiromaia/react-native-multiselect-dropdown

Weekly Downloads

1

Version

1.0.11

License

MIT

Unpacked Size

7.69 kB

Total Files

6

Last publish

Collaborators

  • iurybrasileiromaiasilva