useSheet
useSheet is a helper hook will returns sheet's component context-api
The sheet context-api has methods to modify the opened sheet, such like setting title, header, size...
How to use
useSheet() is only available as long as your component is rendered as a child inside the sheet component.
Available methods
Last updated