We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recommended implementation for a React Class:
CallModal.show({ renderFunction: class extends Component { handleSubmit = () => { this.props.requestCloseModal(); }; render() { return ( <View style={{width: 200, height: 300, backgroundColor: '#F00'}}> <TouchableWithoutFeedback onPress={this.props.handleSubmit}> ... </TouchableWithoutFeedback> </View> ) } } });
Running a React Native app with React 16.8.3, Expo SDK 33
requestCloseModal() isn't called for React Classes. Using the example specified in the documentation for a React Class component.
requestCloseModal()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Recommended implementation for a React Class:
CallModal.show({ renderFunction: class extends Component { handleSubmit = () => { this.props.requestCloseModal(); }; render() { return ( <View style={{width: 200, height: 300, backgroundColor: '#F00'}}> <TouchableWithoutFeedback onPress={this.props.handleSubmit}> ... </TouchableWithoutFeedback> </View> ) } } });
Running a React Native app with React 16.8.3, Expo SDK 33
requestCloseModal()
isn't called for React Classes.Using the example specified in the documentation for a React Class component.
The text was updated successfully, but these errors were encountered: