Salta ai contenuti

useCollapsedGroups

Questi contenuti non sono ancora disponibili nella tua lingua.

@firecms/core


@firecms/core / useCollapsedGroups

useCollapsedGroups(groupNames): object

Defined in: hooks/useCollapsedGroups.ts:8

Custom hook for managing collapsed/expanded state of navigation groups with localStorage persistence. Automatically cleans up stale group entries when groups are removed from the navigation.

string[]

object

isGroupCollapsed: (name) => boolean

string

boolean

toggleGroupCollapsed: (name) => void

string

void