Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.5 KB

README.md

File metadata and controls

34 lines (25 loc) · 1.5 KB

react-native-picker-actionsheet Monthly download Total downloads

Install

npm install react-native-picker-actionsheet --save

Usage

import PickerActionSheet from 'react-native-picker-actionsheet';

<PickerActionSheet />

Example

ios android

Properties

Prop Default Required Description
show false yes Controller whether or not show it
height 120 yes The height of the container,you have to change it for your requirement
title '' no The title text of the container
data [] no The data you give users to picker
renderItem ({item,index})=>{} no Function that shows data
onCancel ()=>{} no Function that is called when user cancels it
onSubmit (text)=>{} no Function that is called when user submits it
cancelText 'cancel' no The string that is displayed on the cancel button
submitText 'submit' no The string that is displayed on the submit button