react-native-material-dialogs icon indicating copy to clipboard operation
react-native-material-dialogs copied to clipboard

3 callback fuctions

Open texas697 opened this issue 9 years ago • 3 comments

Is it possible to have more than 2 callback events?

texas697 avatar Jun 30 '16 15:06 texas697

@texas697 What would the 3rd callback event be?

arjunkomath avatar Jun 30 '16 16:06 arjunkomath

I would like to use your dialogue in place of this Alert

`   Alert.alert('', 'Is Survey Complete?',
            [{ text: 'No', onPress: () => this._surveyInProgress(this.state.activeSubdivisionId) },
                { text: 'Cancel', onPress: () => console.log('Cancel Pressed'), style: 'cancel' },
                { text: 'Yes', onPress: () => this._surveyComplete(this.state.activeSubdivisionId) }]
        )`

texas697 avatar Jun 30 '16 16:06 texas697

@texas697 I'm not sure, but I'll look into it.

arjunkomath avatar Jun 30 '16 16:06 arjunkomath