jc-step
The schema defines the following properties:
Property | Type | Required | Description |
type | component.step | true | |
instanceId | InstanceId | Expression | false | |
when | Expression | boolean | false | |
options | Step Options | true | |
Properties of the options object:
Property | Type | Required | Description |
title | string | Expression | TextWithFormat | TextLocale | true | Title displayed on list item |
description | string | Expression | TextWithFormat | TextLocale | false | Description of step displayed on list item as subtitle |
value | string | string | true | Value of step. It is exposed to Jig's state. So you can use it anywhere inside of Jig |
leftElement | icon | false | Define icon element |
onPress | false | Action Keg component that will be triggered by pressing on this list item. | |
style | object | false | Styling of step component |
Title displayed on list item
Description of step displayed on list item as subtitle
Value of step. It is exposed to Jig's state. So you can use it anywhere inside of Jig
The object must be any of the following types:
Define icon element
Action Keg component that will be triggered by pressing on this list item.
Styling of step component
Properties of the style object:
Property | Type | Required | Description |
isPositive | string | boolean | false | Set design to positive |
isNegative | string | boolean | false | Set design to negative |
isWarning | string | boolean | false | Set design to warning |
isActive | string | boolean | false | Set true if the step is in active state |
isDisabled | string | boolean | false | Set style to disabled |
isStrikeThrough | string | boolean | false | Strike through style for the item |
Set design to positive
The object must be any of the following types:
Set design to negative
The object must be any of the following types:
Set design to warning
The object must be any of the following types:
Set true if the step is in active state
The object must be any of the following types:
Set style to disabled
The object must be any of the following types:
Strike through style for the item
The object must be any of the following types: