Since notify doesn't return the generated id and there is no way of setting an id via incoming props, currently neither closeToast or removeToast can be used.
notify should return the id of the toast created by createToastState so we can reference it.
Since
notifydoesn't return the generatedidand there is no way of setting an id via incoming props, currently neithercloseToastorremoveToastcan be used.notifyshould return the id of the toast created bycreateToastStateso we can reference it.