Open aslanalyiev opened 1 year ago
Hi @aslanalyiev - Have your followed this section of the docs? https://notistack.com/features/customization#custom-variant-(typescript)
Link above explains how to define your custom component's props (which a believe actionText
is one of).
Also please provide a codesandbox minimal reproduction so I can help further.
I ran into the same confusion.
The official example on codesandbox:
https://codesandbox.io/s/github/iamhosseindhv/notistack/tree/master/examples/custom-snackbar-example-2
it is missing the allowDownload property in its declare module.
It actually reproduces the problem aslan was referring to.
Expected Behavior
Current Behavior
Steps to Reproduce
Your Environment