Skip to content
New issue

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

how to use fonction to display modal ? #9

Open
ththugues44 opened this issue Apr 6, 2021 · 4 comments
Open

how to use fonction to display modal ? #9

ththugues44 opened this issue Apr 6, 2021 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@ththugues44
Copy link

ththugues44 commented Apr 6, 2021

when I stage the component to change the boolean value of the isOpen parameter, it doesn't show the modal.

<ReportModal
  isOpen={this.state.isOpenModal}
  title="Sorun Bildiriniz"
  buttonText="Gönder"
  iconConfig={IcomoonConfig}
  menuOptions={this.menuOptions}
  onPress={selectedItems => {
    this.onPress(selectedItems);
  }}
/>

What to do ?

@WrathChaos WrathChaos self-assigned this Apr 6, 2021
@WrathChaos WrathChaos added the bug Something isn't working label Apr 6, 2021
@WrathChaos
Copy link
Contributor

Hello @ththugues44,
Did you check that the state is changing?

@ththugues44
Copy link
Author

hello @WrathChaos , Yes state is changing

@WrathChaos
Copy link
Contributor

Let me test it, it's been a while to use it. If needed I will refactor this library :)
I will inform you asap @ththugues44

@ththugues44
Copy link
Author

Thanks @WrathChaos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants