The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/app/ui-message/client/blocks/ActionsBlock.html

41 lines
680 B

<!-- {
"type": "actions",
"elements": [
{
"type": "button",
"text": {
"type": "plain_text",
"text": "Button",
"emoji": true
}
},
{
"type": "button",
"text": {
"type": "plain_text",
"text": "Button",
"emoji": true
}
},
{
"type": "button",
"text": {
"type": "plain_text",
"text": "Button",
"emoji": true
}
}
]
},
-->
<template name="ActionsBlock" arguments="elements">
<fieldset class="block-kit-debug">
<legend>Actions Block</legend>
<div class="rc-button__group">
{{#each element in elements}}
<div>{{>ButtonElement text=element.text}}</div>
{{/each}}
</div>
</fieldset>
</template>