react-native-dialog-input
Dialog with input for React Native on iOS and Android.
![React Native Dialog Input Android](https://camo.githubusercontent.com/028065dacbd31da1aa805412c6cf22e43a582b385782a4e67eb41de273123fc4/68747470733a2f2f7265732e636c6f7564696e6172792e636f6d2f6a6f736565737472656c6c612f696d6167652f75706c6f61642f635f6c696d69742c775f3237392f76313532363135363633392f6469616c6f672d616e64726f69642e706e67)
npm install --save react-native-dialog-input
import DialogInput from 'react-native-dialog-input';
...
<DialogInput isDialogVisible={this.state.isDialogVisible}
title={"DialogInput 1"}
message={"Message for DialogInput #1"}
hintInput ={"HINT INPUT"}
submitInput={ (inputText) => {this.sendInput(inputText)} }
closeDialog={ () => {this.showDialog(false)}}>
</DialogInput>
...
name |
description |
type |
isDialogVisible |
Condition to show or hide the DialogInput |
Boolean |
title |
Title to show in the DialogInput |
String (OPTIONAL) |
message |
Message to show in the DialogInput |
String (OPTIONAL) |
hintInput |
Text hint to show in the TextInput |
String (OPTIONAL) |
name |
description |
returns |
submitInput() |
Event fired when the user press the SUBMIT button |
String |
closeDialog() |
Event fired when the user press the CLOSE button |
- |