diff --git a/src/components/BaseButton.stories.js b/src/components/BaseButton.stories.js new file mode 100644 index 0000000..471f561 --- /dev/null +++ b/src/components/BaseButton.stories.js @@ -0,0 +1,17 @@ +import BaseButton from './BaseButton.vue' + +export default { + title: 'Base button', + component: BaseButton, +} + +const Template = (args) => ({ + components: { BaseButton }, + setup() { + return { args } + }, + template: `What a nice label!`, +}) + +export const Primary = Template.bind({}) +Primary.args = {} diff --git a/src/components/BaseButton.vue b/src/components/BaseButton.vue new file mode 100644 index 0000000..93c2025 --- /dev/null +++ b/src/components/BaseButton.vue @@ -0,0 +1,5 @@ + diff --git a/src/components/BaseLabel.stories.js b/src/components/BaseLabel.stories.js new file mode 100644 index 0000000..8da04af --- /dev/null +++ b/src/components/BaseLabel.stories.js @@ -0,0 +1,17 @@ +import BaseLabel from './BaseLabel.vue' + +export default { + title: 'Base label', + component: BaseLabel, +} + +const Template = (args) => ({ + components: { BaseLabel }, + setup() { + return { args } + }, + template: `What a nice label!`, +}) + +export const Primary = Template.bind({}) +Primary.args = {} diff --git a/src/components/BaseLabel.vue b/src/components/BaseLabel.vue new file mode 100644 index 0000000..1273813 --- /dev/null +++ b/src/components/BaseLabel.vue @@ -0,0 +1,5 @@ + diff --git a/src/components/BaseTextArea.stories.js b/src/components/BaseTextArea.stories.js new file mode 100644 index 0000000..8c30b1e --- /dev/null +++ b/src/components/BaseTextArea.stories.js @@ -0,0 +1,19 @@ +import BaseTextArea from './BaseTextArea.vue' + +export default { + title: 'Base text area', + component: BaseTextArea, +} + +const Template = (args) => ({ + components: { BaseTextArea }, + setup() { + return { args } + }, + template: ``, +}) + +export const Primary = Template.bind({}) +Primary.args = { + modelValue: 'Cool text', +} diff --git a/src/components/BaseTextArea.vue b/src/components/BaseTextArea.vue new file mode 100644 index 0000000..6b9128a --- /dev/null +++ b/src/components/BaseTextArea.vue @@ -0,0 +1,13 @@ +