useSheetRef
Returns the current sheet's ref.
// Some where in your sheet's component tree.
const ref = useSheetRef("example-sheet");
// Use methods on the current sheet.
ref.hide();
Returns the current sheet's ref.
// Some where in your sheet's component tree.
const ref = useSheetRef("example-sheet");
// Use methods on the current sheet.
ref.hide();