Skip to content

Commit

Permalink
build(sb): 👷 fix hmr in sb
Browse files Browse the repository at this point in the history
  • Loading branch information
navin-moorthy committed Jun 29, 2022
1 parent b0231dd commit f397110
Show file tree
Hide file tree
Showing 3 changed files with 255 additions and 128 deletions.
4 changes: 0 additions & 4 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import React from "react";
import { kebabCase } from "lodash";
import { addDecorator } from "@storybook/react";
import { withPropsTable } from "storybook-addon-react-docgen";

export const parameters = {
actions: { argTypesRegex: "^on[A-Z].*" },
Expand All @@ -21,5 +19,3 @@ export const decorators = [
return <Story />;
},
];

addDecorator(withPropsTable);
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,10 @@
"react-test-renderer": "18.2.0",
"react-transition-group": "4.4.2",
"react-virtual": "2.10.4",
"release-it": "15.1.0",
"release-it": "15.1.1",
"rimraf": "3.0.2",
"sort-package-json": "1.57.0",
"storybook-addon-preview": "2.2.0",
"storybook-addon-react-docgen": "1.2.42",
"strip-comments": "2.0.1",
"tailwindcss": "3.1.4",
"ts-jest": "28.0.5",
Expand Down
Loading

0 comments on commit f397110

Please sign in to comment.