useWidgetDirection Function
Returns widget direction. I.e. "horizontal" when widget is in bottom/top stage panel.
useWidgetDirection(): "horizontal" | "vertical"
Returns - "horizontal" | "vertical"
Defined in
Last Updated: 05 January, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.