MockButtonElement
Defined in: packages/core/src/types.ts:171
Button element with optional navigation and styling
Extends
Section titled “Extends”MockElementBase
Properties
Section titled “Properties”label:
string
Defined in: packages/core/src/types.ts:165
Display label for the element
Inherited from
Section titled “Inherited from”MockElementBase.label
navigateTo?
Section titled “navigateTo?”
optionalnavigateTo:string
Defined in: packages/core/src/types.ts:174
Screen ID to navigate to when clicked
type:
"button"
Defined in: packages/core/src/types.ts:172
Element type identifier
Overrides
Section titled “Overrides”MockElementBase.type
variant?
Section titled “variant?”
optionalvariant:"primary"|"secondary"|"danger"
Defined in: packages/core/src/types.ts:176
Visual style variant