about summary refs log tree commit diff
path: root/.storybook/decorators/index.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 /.storybook/decorators/index.js
parent424eaa9e8098cef762b1a2a7565d37944bb25306 (diff)
downloadpuszcza-17fc6a6b4507e5535d8b6989b66da5bac323e87b.tar.gz
puszcza-17fc6a6b4507e5535d8b6989b66da5bac323e87b.zip
Add PostList
Diffstat (limited to '.storybook/decorators/index.js')
-rw-r--r--.storybook/decorators/index.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/.storybook/decorators/index.js b/.storybook/decorators/index.js
new file mode 100644
index 0000000..acea431
--- /dev/null
+++ b/.storybook/decorators/index.js
@@ -0,0 +1,6 @@
+export const center = () => {
+  return {
+    template:
+      '<div style="display: flex; align-items: center; justify-content: center"><story/></div>'
+  }
+}