diff --git a/src/components/data-flash/DataFlash.stories.js b/src/components/data-flash/DataFlash.stories.js new file mode 100644 index 00000000..aa76690f --- /dev/null +++ b/src/components/data-flash/DataFlash.stories.js @@ -0,0 +1,16 @@ +import DataFlash from "./DataFlash"; + +// More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export +export default { + title: "Default flash", + component: DataFlash, +}; + +// More on component templates: https://storybook.js.org/docs/vue/writing-stories/introduction#using-args +const Template = (_args, { argTypes }) => ({ + props: Object.keys(argTypes), + components: { DataFlash }, + template: '', +}); + +export const Primary = Template.bind({}); diff --git a/src/components/data-flash/DataFlash.vue b/src/components/data-flash/DataFlash.vue new file mode 100644 index 00000000..411123fe --- /dev/null +++ b/src/components/data-flash/DataFlash.vue @@ -0,0 +1,118 @@ + + + + No dataflash chip found + + + + + Dataflash: free + {{ freeSpace }} + + + + + + + +