Context providers
#
ClientsProviderReact Context Provider, useful to provide clients. Allows underlying Components to communicate with their target server(s).
<ClientsProvider value={clients}> {children}</ClientsProvider>
#
IsPresentingProviderProvides whether the user has entered presentation mode. Allows the underlying Components to know whether they should show edition capabilities.
<IsPresentingProvider value={isPresenting}> {children}</IsPresentingProvider>
#
PluginsProviderPlugins Context provider. Necessary to define the widgets that can be displayed as well as all other types of plugins.
<PluginsProvider value={plugins}> {children}</PluginsProvider>
#
ThemeProviderTheme Context provider. Accepts a partial Theme and adds defaults where needed to provide a full one.
<ThemeProvider value={theme}> {children}</ThemeProvider>
#
UserGroupNamesProviderReact Context Provider, useful to provide the UserGroupNames. Allows underlying components to access the provided user group names.
<UserGroupNamesProvider value={userGroupNames}> {children}</UserGroupNamesProvider>
#
UserNamesProviderReact Context Provider, useful to provide the UserNames. Allows underlying components to access the provided user names.
<UserNamesProvider value={userNames}> {children}</UserNamesProvider>
#
UserProviderReact Context Provider, useful to provide the current User. Allows underlying components to access the current user's information.
<UserProvider value={user}> {children}</UserProvider>