Add support for different kinds of function
mCodex opened this issue · comments
Support for toasts be used inside regular functions not only components' functions. Make the lib be able to be used inside functions which does not render a React component, such as API calls and so on...