Skip to main content

ButtonProps

Agent Runtimes


Agent Runtimes / stories/Button / ButtonProps

Interface: ButtonProps

Defined in: stories/Button.tsx:8

Properties

backgroundColor?

optional backgroundColor?: string

Defined in: stories/Button.tsx:12

What background color to use


label

label: string

Defined in: stories/Button.tsx:16

Button contents


onClick?

optional onClick?: () => void

Defined in: stories/Button.tsx:18

Optional click handler

Returns

void


primary?

optional primary?: boolean

Defined in: stories/Button.tsx:10

Is this the principal call to action on the page?


size?

optional size?: "small" | "medium" | "large"

Defined in: stories/Button.tsx:14

How large should the button be?