Widgets
Status: Developer Preview
Defines a dashboard widget that can be added to the dashboard.
id
property
stringA unique identifier for the widget.
name
property
stringThe display name of the widget.
component
property
React.ComponentType<DashboardBaseWidgetProps>The React component that renders the widget.
defaultSize
property
{ w: number; h: number; x?: number; y?: number }The default size and position of the widget.
minSize
property
{ w: number; h: number }The minimum size constraints for the widget.
maxSize
property
{ w: number; h: number }The maximum size constraints for the widget.
requiresPermissions
property
string[]If set, the widget will only be displayed if the current user has at least one of the specified permissions in the active channel.
If not set, the widget will be visible to all users.
Was this chapter helpful?