We are using the snackbar to display an error message to the user, but we have no need to do anything after the component has been hidden. Not setting onTimeout throws a warning because this prop is required.
What do you think about making the onTimeout optional? Imho, why force someone to do something when the snackbar is hidden?
Hello,
We are using the snackbar to display an error message to the user, but we have no need to do anything after the component has been hidden. Not setting onTimeout throws a warning because this prop is required.
What do you think about making the onTimeout optional? Imho, why force someone to do something when the snackbar is hidden?