Skip to content

Commit

Permalink
fix: add test ui provider as storybook decorator to show stories
Browse files Browse the repository at this point in the history
  • Loading branch information
jonyw4 committed Jan 16, 2022
1 parent 721472f commit 87838aa
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
import "normalize.css";
import "../webapp/src/components/global/styles/global.css";
import { TestUIProvider } from "../webapp/src/components/global/TestUIProvider";

export const decorators = [
(Story) => (
<TestUIProvider>
<Story />
</TestUIProvider>
),
];

export const parameters = {
actions: { argTypesRegex: "^on[A-Z].*" },
Expand Down

0 comments on commit 87838aa

Please sign in to comment.