Hierarchy

  • IconDto

Properties

component: ComponentClass<Record<string, never>, {}> | FunctionalComponent<Record<string, never>>

The icon react component

label: string

An ID (usually the plugin name in case of a plugin) - used for icons order calculations has to be corresponds to the names of the icons (plugins) names in the ui-managers config (under upperBarManager.pluginsIconsOrder)

onClick: ((e: MouseEvent | KeyboardEvent) => void)

Type declaration

    • (e: MouseEvent | KeyboardEvent): void
    • The icon handler

      Remarks

      You can also define the handler inside the component itself and send an empty function here (also useful as backwards compatibility for some plugins)

      Parameters

      • e: MouseEvent | KeyboardEvent

      Returns void

presets?: ReservedPresetName[]

Relevant presets for the icon

svgIcon: SvgIcon

Icon that will appear in the dropdown menu

Generated using TypeDoc