From 8afae8ea960b7162df851ad5946f4bbebd729ff3 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Sun, 29 Dec 2019 22:34:01 +0100 Subject: Basic template --- components/GoogleDriveLink.stories.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 components/GoogleDriveLink.stories.js (limited to 'components/GoogleDriveLink.stories.js') diff --git a/components/GoogleDriveLink.stories.js b/components/GoogleDriveLink.stories.js new file mode 100644 index 0000000..37d67e8 --- /dev/null +++ b/components/GoogleDriveLink.stories.js @@ -0,0 +1,19 @@ +import { storiesOf } from '@storybook/vue' +import { center } from '../.storybook/decorators' + +import GoogleDriveLink from './GoogleDriveLink' + +const googleDriveLink = { + text: 'Test', + link: 'https://drive.google.com/u/1' +} + +storiesOf('GoogleDriveLink', module) + .addDecorator(center) + .add('default', () => { + return { + components: { GoogleDriveLink }, + template: ``, + data: () => googleDriveLink + } + }) -- cgit 1.4.1