GA-MO / react-confirm-alert

react component confirm dialog.
https://ga-mo.github.io/react-confirm-alert/demo/
MIT License
272 stars 105 forks source link

Allow `buttons` prop to be passed to custom ui #34

Closed hkejones closed 4 years ago

usamamashkoor commented 4 years ago

Did you find any solution to this...?

hkejones commented 4 years ago

Did you find any solution to this...?

Yep, just needed to pass buttons to dataCustomUI in renderCustomUI.

usamamashkoor commented 4 years ago

@netemmajones Thanks for your reply can you please share a rough example please i am new to react so it would be a great help.

hkejones commented 4 years ago

@netemmajones Thanks for your reply can you please share a rough example please i am new to react so it would be a great help.

See https://github.com/GA-MO/react-confirm-alert/pull/34/files. Feel free to install from https://github.com/netemmajones/react-confirm-alert which has the changes needed

usamamashkoor commented 4 years ago

Thanks

On Tue, Nov 26, 2019, 2:44 PM Emma Jones notifications@github.com wrote:

@netemmajones https://github.com/netemmajones Thanks for your reply can you please share a rough example please i am new to react so it would be a great help.

See https://github.com/GA-MO/react-confirm-alert/pull/34/files. Feel free to install use my fork which has the changes needed https://github.com/netemmajones/react-confirm-alert

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/GA-MO/react-confirm-alert/pull/34?email_source=notifications&email_token=ACCGH44R73QMSBUCTUYDMS3QVTVWNA5CNFSM4I3HGS52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFFMLUQ#issuecomment-558548434, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCGH4237ZNXR76ZKGWAIV3QVTVWNANCNFSM4I3HGS5Q .