# react-native-simple-modal-select

> A simple and searchable modal selector for React Native

Latest version **0.1.0** (published 2024-07-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-simple-modal-select
pnpm add react-native-simple-modal-select
yarn add react-native-simple-modal-select
bun add react-native-simple-modal-select
```

## 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 | 2024-07-12 |
| First published | 2022-08-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 257.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Franco Ibarra |
| Maintainers | francoibarra |
| Keywords | react-native, modal, select, selector, picker, menu, dropdown, android, react-component |

## Links

- npm: https://www.npmjs.com/package/react-native-simple-modal-select
- Repository: https://github.com/FrancoIbarra/react-native-simple-modal-select
- Homepage: https://github.com/FrancoIbarra/react-native-simple-modal-select#readme
- Issues: https://github.com/FrancoIbarra/react-native-simple-modal-select/issues
- npm.io page: https://npm.io/package/react-native-simple-modal-select

## Alternatives

- [react-native-root-siblings](https://npm.io/package/react-native-root-siblings.md) — 102.9K weekly downloads
- [post-robot](https://npm.io/package/post-robot.md) — 93.7K weekly downloads
- [@praxisui/dialog](https://npm.io/package/@praxisui/dialog.md) — 2.0K weekly downloads
- [easy-toggle-state](https://npm.io/package/easy-toggle-state.md) — 350 weekly downloads
- [ngx-lightbox-evp](https://npm.io/package/ngx-lightbox-evp.md) — 19 weekly downloads

## Recent versions

- 0.1.0 (latest) — 2024-07-12
- 0.0.1 — 2022-08-03

## README

# React Native Simple Modal Select

A simple and searchable modal selector for React Native.

![Demo](demo.gif)

## How to install

npm i react-native-simple-modal-select


## Props

-   `data - []` required, array of objects that will be passed to the picker, with unique key and label.
-   `labelName - string` required, name of your object property that will be used for displaying text.
-   `valueName - string` required, name of your object property that will be used as option value.
-   `visible - boolean` required, prop used to show/hide the component.
-   `transparent - boolean` optional, backdrop transparency, true by default.
-   `searchable - boolean` optional, used for showing/hiding the search input, false by default.
-   `onItemPress - function` required, callback function fired when the user selects an item.
-   `cancelText - string` optional, text of 'cancel' button.
-   `cancelCallback - function` required, callback for the onPress event of the cancel button and the onRequestClose event of the modal.
-   `searchPlaceHolder - string` optional, placeholder text of the search input.
-   `noResultsText - string` optional, text showed when there are no search results.

## License

This package is licensed under [The MIT License (MIT)](LICENSE).

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