Skip to content

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.

Parameter Type
__namedParameters UseNavbarItemSortableParams

UseNavbarItemSortableReturn