Closed dev-babar closed 4 years ago
A workaround could be changing the showCancel
prop on a state change like when it's warn or success types.
I am satisfied with the workaround and I welcome any PR to address this. I suggest by sending a flag in the payload in alertWithType
similar to how image source was overridden.
Closing as per comments above.
I want to show cancel button in some cases of alert type not every time when message shows