Actions
Actions are used to create one or more actions for a supported component.
API Reference
Props
ActionsProps
Name
Type
Default
Description
Example
<Component actions={
{
/* For example in a card */
button: {
text: "Show more",
primary: true,
icon: "GlobeAltIcon",
url: "https://getstage.app"
},
/* Usage in a Block */
link: {
url: "https://stagehq.com"
},
/* On a List Item / Card Item */
open: {
url: "https://getstage.app"
}
}
}>ButtonProps
Name
Type
Default
Description
Example
LinkProps
Name
Type
Default
Description
Example
OpenProps
Name
Type
Default
Description
Example
Last updated