TldrawUiButton

See source code
Table of contents

Properties

Extends React.HTMLAttributes<HTMLButtonElement>.

disabled

optional
disabled?: boolean;

htmlButtonType

optional
htmlButtonType?: "button" | "reset" | "submit";

isActive

optional
isActive?: boolean;

tooltip

optional
tooltip?: string;

type

type:
  | "danger"
  | "help"
  | "icon"
  | "low"
  | "menu"
  | "normal"
  | "primary"
  | "tool";

Prev
TldrawUiA11yProvider
Next
TldrawUiButtonCheck