Skip to main content

ActionableItem

Stentor API Reference


Stentor API Reference / stentor-models/src / ActionableItem

Interface: ActionableItem

Defined in: packages/stentor-models/src/Form/FormField.ts:403

An item that can be clicked to perform an action (e.g., navigate to a URL).

Used in form fields like chips to provide actionable items that trigger navigation or other actions when clicked.

Properties​

label​

label: string

Defined in: packages/stentor-models/src/Form/FormField.ts:407

Display label shown to the user


id​

id: string

Defined in: packages/stentor-models/src/Form/FormField.ts:412

Unique identifier for the item. This is what is sent to the server and should be a human-readable form of the label.


url​

url: string

Defined in: packages/stentor-models/src/Form/FormField.ts:416

URL to navigate to when the item is clicked