diff options
Diffstat (limited to 'packages/client/src/components/BaseButton.vue')
-rw-r--r-- | packages/client/src/components/BaseButton.vue | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/packages/client/src/components/BaseButton.vue b/packages/client/src/components/BaseButton.vue new file mode 100644 index 0000000..2a528b0 --- /dev/null +++ b/packages/client/src/components/BaseButton.vue @@ -0,0 +1,29 @@ +<template> + <button :type="type ? type : ''"> + {{ value }} + </button> +</template> + +<script> +export default { + name: "BaseButton", + props: { + type: { + type: String, + required: true + }, + value: { + type: String, + required: true + } + } +}; +</script> + +<style lang="scss" scoped> +@use "../scss/mixins"; + +button { + @include mixins.button; +} +</style> |