about summary refs log tree commit diff
path: root/components/PostLink.stories.js
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-10-21 19:53:02 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-10-21 19:53:02 +0200
commit17fc6a6b4507e5535d8b6989b66da5bac323e87b (patch)
treee2edf46d74a376d0359bcdeb5d19646afeb218e4 /components/PostLink.stories.js
parent424eaa9e8098cef762b1a2a7565d37944bb25306 (diff)
downloadpuszcza-17fc6a6b4507e5535d8b6989b66da5bac323e87b.tar.gz
puszcza-17fc6a6b4507e5535d8b6989b66da5bac323e87b.zip
Add PostList
Diffstat (limited to 'components/PostLink.stories.js')
-rw-r--r--components/PostLink.stories.js8
1 files changed, 1 insertions, 7 deletions
diff --git a/components/PostLink.stories.js b/components/PostLink.stories.js
index 71d04ed..a824b35 100644
--- a/components/PostLink.stories.js
+++ b/components/PostLink.stories.js
@@ -1,4 +1,5 @@
 import { storiesOf } from '@storybook/vue'
+import { center } from '../.storybook/decorators'
 
 import PostLink from './PostLink'
 
@@ -9,13 +10,6 @@ export const postLink = {
   route: '/kronika/2019/20/11/test'
 }
 
-const center = () => {
-  return {
-    template:
-      '<div style="display: flex; align-items: center; justify-content: center"><story/></div>'
-  }
-}
-
 storiesOf('PostLink', module)
   .addDecorator(center)
   .add('default', () => {