Skip to content

ActionVariantInput

Properties

actionDetail

The action's metadata, when available.

Type: ActionInfo

Source: client/lib/utils/actionVariant.js:42

actionName

The action / view name being rendered.

Type: string

Source: client/lib/utils/actionVariant.js:41

emphasis

Placement emphasis when not promoted; defaults to outline.

Type: "fill" | "outline" | "ghost" | "link"

Source: client/lib/utils/actionVariant.js:45

primary

Promote this action to the filled hero CTA for the current view.

Type: boolean

Source: client/lib/utils/actionVariant.js:43

tone

Explicit tone override; wins over the intrinsic tone.

Type: "neutral" | "primary" | "destructive"

Source: client/lib/utils/actionVariant.js:44

Source

client/lib/utils/actionVariant.js:40

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2