diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-11-27 23:42:38 +0100 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-11-27 23:42:38 +0100 |
commit | fe81f3d551f00d8a5ee5ee4c738e02ffc2d06ecb (patch) | |
tree | fda4baf4496e2c12f4f3990e04dc34cedc4e43cb /components/Buttons/PlainButton.vue | |
parent | 6e66497bc3e8b00c3f7b741fe6c19d966f877a3b (diff) | |
download | puszcza-fe81f3d551f00d8a5ee5ee4c738e02ffc2d06ecb.tar.gz puszcza-fe81f3d551f00d8a5ee5ee4c738e02ffc2d06ecb.zip |
Add PlainButton
Diffstat (limited to 'components/Buttons/PlainButton.vue')
-rw-r--r-- | components/Buttons/PlainButton.vue | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/components/Buttons/PlainButton.vue b/components/Buttons/PlainButton.vue new file mode 100644 index 0000000..6e0cde2 --- /dev/null +++ b/components/Buttons/PlainButton.vue @@ -0,0 +1,30 @@ +<template> + <button class="button" @click="$emit('click')">{{text}}</button> +</template> + +<script> +export default { + name: 'PlainButton', + props: { + text: { + type: String, + required: true + } + } +} +</script> + +<style scoped> +.button { + background-color: #507b34; + padding: 10px; + max-width: 150px; + border: none; + + cursor: pointer; + + color: #ffffff; + text-align: center; + font: 16px 'Roboto Slab'; +} +</style> \ No newline at end of file |