diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-01-03 19:14:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-03 19:14:44 +0100 |
commit | 6a87f4d381bb43bea3a2b64ea930d4f46783e22c (patch) | |
tree | 7e14c6c0ee06edcbc1dd3084d5801ab69be1ee28 /components/GoogleDriveLink.stories.js | |
parent | d81efb1e043180885bfb6ea9eac173a86fea6aad (diff) | |
parent | 1b74216fc4afa740991dcc9986eb6843c5b07a59 (diff) | |
download | puszcza-6a87f4d381bb43bea3a2b64ea930d4f46783e22c.tar.gz puszcza-6a87f4d381bb43bea3a2b64ea930d4f46783e22c.zip |
Merge pull request #22 from 19pdh/develop
Google drive link
Diffstat (limited to 'components/GoogleDriveLink.stories.js')
-rw-r--r-- | components/GoogleDriveLink.stories.js | 19 |
1 files changed, 19 insertions, 0 deletions
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: `<google-drive-link :text="text" :link="link" />`, + data: () => googleDriveLink + } + }) |