-
Type: Improvement
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Technical Debt
-
Tags:
The Root component should register the Toast ref when it can, something like:
Toast.registerToast(ref);
After that, in any JS file, we should be able to do:
import Toast from '../Toast'; ... Toast.call[Toast](...)
We could probably change the method signature to pass an options object with default values instead of arguments