Action/Cancel button can not be used with a custom toast
hyoban opened this issue Β· comments
Stephen Zhou commented
Describe the feature / bug π:
Did you do this on purpose?
Lines 377 to 379 in bc74b2d
Steps to reproduce the bug π:
toast(<div>A custom toast with default styling</div>, {
action: {
label: "Action",
onClick: () => console.log("Action!"),
},
});
I am willing to submit a pull request for this change.