Commit 09ef323b authored by Jose Vargas's avatar Jose Vargas

Add category prop to modal_copy_button

This adds the category prop to the
modal_copy_button component
parent 82325168
...@@ -55,6 +55,11 @@ export default { ...@@ -55,6 +55,11 @@ export default {
required: false, required: false,
default: null, default: null,
}, },
category: {
type: String,
required: false,
default: 'primary',
},
}, },
computed: { computed: {
modalDomId() { modalDomId() {
...@@ -95,6 +100,7 @@ export default { ...@@ -95,6 +100,7 @@ export default {
:data-clipboard-target="target" :data-clipboard-target="target"
:data-clipboard-text="text" :data-clipboard-text="text"
:title="title" :title="title"
:category="category"
icon="copy-to-clipboard" icon="copy-to-clipboard"
/> />
</template> </template>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment