default
default(
__namedParameters):UseNavbarItemSortableReturn
Defined in: components/AppLayout/Sidebar/Navbar/NavbarItem/useNavbarItemSortable.ts:38
A custom hook for the NavbarItem component. It’s function is providing the
component with drag-and-drop–enabling values.
Enables drag-and-drop only when
isDraggable === true && isEditorMode === true.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
__namedParameters |
UseNavbarItemSortableParams |
Returns
Section titled “Returns”UseNavbarItemSortableReturn