Options
All
  • Public
  • Public/Protected
  • All
Menu

The proptypes for Button.

This also supports all aria-* and data-* attributes.

Hierarchy

Index

Properties

children

children: React.ReactNode

The text of the button.

This is followed by the start icon if ButtonProps.isStartButton is true.

Optional className

className: string | null

Optional disabled

disabled: boolean | null

Optional id

id: string | null

Optional isStartButton

isStartButton: boolean | null

Use for the main call to action on your service's start page. Adjusts style of the button and adds a start icon as the last child.

Optional name

name: string | null

Optional onClick

onClick: ((event: MouseEvent<HTMLElement>) => void) | null

Optional preventDoubleClick

preventDoubleClick: boolean | null

Debounces clicks within a second of each other preventing multiple form submissions.

Optional type

type: ButtonHTMLAttributes<HTMLButtonElement>["type"] | null

Generated using TypeDoc