Ref access from anywhere
You can access the ActionSheetRef
from anywhere in the app using SheetManager
.
SheetManager.get("example-sheet").snapToOffset(50);
You can also get ref of an action sheet in a specific SheetProvider
.
SheetManager.get("example-sheet", "local-context").snapToOffset(50);