io.display.link
Displays a button-styled action link to the action user.
Usage
await io.display.link("Run another action", {
action: "usefulAction",
theme: "danger",
});
interval.com
Props
action | Optional string | Slug of an action to link to, can be provided instead of `href`. |
href | Optional string | The absolute URL, must be HTTPS. |
props | Optional object | Object of primitive properties to be passed to the given action slug, only applies to `action` links. |
theme | Optional enum | Button visual theme. One of `default` or `danger`. |
Returns: Null
Was this section useful?