Skip to content

Commit

Permalink
Merge pull request #10 from uk960214/issue1
Browse files Browse the repository at this point in the history
Issue1 상단 Navbar 구현
  • Loading branch information
liswktjs authored Jun 10, 2022
2 parents 367efb6 + 0121d13 commit 78179da
Show file tree
Hide file tree
Showing 14 changed files with 37,837 additions and 11,287 deletions.
16 changes: 16 additions & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
module.exports = {
"stories": [
"../src/**/*.stories.mdx",
"../src/**/*.stories.@(js|jsx|ts|tsx)"
],
"addons": [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-interactions",
"@storybook/preset-create-react-app"
],
"framework": "@storybook/react",
"core": {
"builder": "@storybook/builder-webpack5"
}
}
27 changes: 27 additions & 0 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import { ThemeProvider } from "styled-components";

import { theme } from "../src/style/Theme";
import GlobalStyle from "../src/style/GlobalStyle";

export const parameters = {
actions: { argTypesRegex: "^on[A-Z].*" },
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/,
},
},
};

export const decorators = [
(Story, context) => {
return (
<>
<ThemeProvider theme={theme}>
<GlobalStyle />
<Story {...context} />
</ThemeProvider>
</>
);
},
];
Loading

0 comments on commit 78179da

Please sign in to comment.