diff --git a/src/components/AppButton.vue b/src/components/AppButton.vue new file mode 100644 index 0000000..22e0bc7 --- /dev/null +++ b/src/components/AppButton.vue @@ -0,0 +1,84 @@ + + + + + +This button is amazing, use it responsibly. + +## Examples + +Orange button: + +```jsx +Push Me +``` + +Ugly button with pink font and blue background: + +```jsx + + Ugly button + +``` + +Button containing custom tags: + +```jsx + + Text with bold + +``` + diff --git a/src/components/sizeMixin.js b/src/components/sizeMixin.js new file mode 100644 index 0000000..476248b --- /dev/null +++ b/src/components/sizeMixin.js @@ -0,0 +1,14 @@ +/** + * @mixin + */ +module.exports = { + props: { + /** + * Set size of the element + */ + size: { + type: String, + default: '14px' + } + } +}