From 4b83f57b9002e4050db094998a975ff5c2685d83 Mon Sep 17 00:00:00 2001 From: hhhyyo Date: Fri, 11 Mar 2022 21:14:52 +0900 Subject: [PATCH] =?UTF-8?q?conf:=20Storybook=20GlobalStyle,=20MemoryRouter?= =?UTF-8?q?=20=EC=A0=81=EC=9A=A9=20-=20Issue=20#43?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .storybook/preview.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.storybook/preview.js b/.storybook/preview.js index f2a45ea..5cc03c1 100644 --- a/.storybook/preview.js +++ b/.storybook/preview.js @@ -1,4 +1,16 @@ import ko from 'axe-core/locales/ko.json'; +import React from 'react'; +import { MemoryRouter } from 'react-router-dom'; +import { GlobalStyle } from 'styles/GlobalStyle'; + +export const decorators = [ + (Story) => ( + + + + + ), +]; export const parameters = { a11y: {