Skip to main content

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

actionOptional stringSlug of an action to link to, can be provided instead of `href`.
hrefOptional stringThe absolute URL, must be HTTPS.
propsOptional objectObject of primitive properties to be passed to the given action slug, only applies to `action` links.
themeOptional enumButton visual theme. One of `default` or `danger`.

Returns: Null

Was this section useful?
On this page