Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TableToolbarButtonProps<V>

Type parameters

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 id

id: string

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: PlateEditor<V>, options: { header?: boolean }) => void

Type declaration

    • (editor: PlateEditor<V>, options: { header?: boolean }): void
    • Parameters

      • editor: PlateEditor<V>
      • options: { header?: boolean }
        • Optional header?: boolean

      Returns void

Generated using TypeDoc