diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-01-02 13:16:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-02 13:16:53 +0100 |
commit | 4a97a04932fd634bb31d35477b01f7596a458d2e (patch) | |
tree | 095d53b5b5d455ecb339e63475b904b6020f76d3 /components/GoogleDriveLink.stories.js | |
parent | 65edd8389f1b175eead2287ddfe62c19108ec967 (diff) | |
parent | 34e044ef96efc8f4e6463bdc767c526f590e505c (diff) | |
download | puszcza-4a97a04932fd634bb31d35477b01f7596a458d2e.tar.gz puszcza-4a97a04932fd634bb31d35477b01f7596a458d2e.zip |
Merge pull request #20 from 19pdh/feature/drive-link
WIP Feature/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 + } + }) |