Skip to main content

ClientRootProps

Props of ClientRoot

Properties

children

children: ReactNode

Child elements that will be displayed inside the client layout.


notifications

notifications: Notification[] | Promise<Notification[]>

The user's notifications, or a promise resolving to it.


sidebarItems

sidebarItems: SidebarItem[] | Promise<SidebarItem[]>

List of sidebar navigation items, or a promise resolving to it.


userPermissions

userPermissions: UserPermissionList | Promise<UserPermissionList>

Preliminary data needed to initialize the client, or a promise resolving to it.


userSettings

userSettings: UserSetting[] | Promise<UserSetting[]>

User preferences, or a promise resolving to it.


userWorkspaces

userWorkspaces: UserWorkspaces | Promise<UserWorkspaces>

Information about the workspaces the user has access to, or a promise resolving to it.


visibleWorkspaces

visibleWorkspaces: UserVisibleWorkspaceInfo | Promise<UserVisibleWorkspaceInfo>

Data about workspaces visible to the user, or a promise resolving to it.