Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface BlockToolbarButtonProps

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.

icon

icon: any

Icon of the button.

Optional id

id: string

Optional inactiveType

inactiveType: 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.

type

type: string

Generated using TypeDoc