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();
Last updated on January 29, 2024
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();