about summary refs log tree commit diff
path: root/.storybook/decorators
diff options
context:
space:
mode:
Diffstat (limited to '.storybook/decorators')
-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>'
+  }
+}