Skip to main content

Interface: WorkspaceRootProps

Props for WorkspaceRoot component.

See

WorkspaceRoot

Properties

PropertyTypeDescription

children

ReactNode

Component children.

className?

string

Additional CSS class for the component.

colorScheme?

"auto" | "dark" | "light"

Sets a color scheme for the UI components.

If set to auto, the component will track the following places in order:

  • <html data-theme="..."> attribute in case it is set to dark;
  • (prefers-color-scheme: dark) media query matches;
  • fallback to the default light color scheme otherwise.

Default

"auto"

style?

CSSProperties

Additional CSS styles for the component.