Skip to content

How to show popup Confirm Remove Rule instead of default popup #647

Answered by ukrbublik
tunv1998 asked this question in Q&A
Discussion options

You must be logged in to vote

renderConfirm should not return components to render.
It should call hook, something like showConfirm in antdesign: https://ant.design/components/modal/#components-modal-demo-confirm
But this hook is not implemented for reactstrap (yet).
You can open an issue for this.

This article can be used as example to write PR:
https://dev.to/alexandprivate/your-next-react-modal-with-your-own-usemodal-hook-context-api-3jg7

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
8 replies
@tunv1998
Comment options

@tunv1998
Comment options

@tunv1998
Comment options

@tunv1998
Comment options

@tunv1998
Comment options

Comment options

You must be logged in to vote
1 reply
@tunv1998
Comment options

Answer selected by tunv1998
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants