Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ToolbarTableProps

Hierarchy

Index

Properties

Optional active

active: boolean

Is it active.

Optional as

as: string | Element

Optional classNames

classNames: RootClassName & Record<"active", string>

Class names for the root component and the subcomponents.

Optional header

header: boolean

icon

icon: any

Icon of the button.

Optional onMouseDown

onMouseDown: MouseEventHandler<HTMLSpanElement>

Optional prefixClassNames

prefixClassNames: string

Optional styles

styles: Partial<RootStyles> & Partial<{ active?: CSSProp<any> }>

Customized styling that will layer on top of the default rules.

Optional tooltip

tooltip: TippyProps

Tooltip props. If not provided, tooltip is disabled.

transform

transform: (editor: SPEditor, options: { header?: boolean }) => void

Type declaration

    • (editor: SPEditor, options: { header?: boolean }): void
    • Parameters

      • editor: SPEditor
      • options: { header?: boolean }
        • Optional header?: boolean

      Returns void

Generated using TypeDoc