diff options
Diffstat (limited to '.storybook/decorators/index.js')
-rw-r--r-- | .storybook/decorators/index.js | 6 |
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..518f966 --- /dev/null +++ b/.storybook/decorators/index.js @@ -0,0 +1,6 @@ +export const center = () => { + return { + template: + '<div style="height: 100vh; display: flex; align-items: center; justify-content: center"><story/></div>' + } +} |