storybook primary and secondary button added
Showing
.storybook/main.js
0 → 100644
.storybook/preview.js
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
| ... | ... | @@ -19,12 +19,24 @@ |
| "build": "react-scripts build", | ||
| "test": "react-scripts test", | ||
| "eject": "react-scripts eject", | ||
| "server": "json-server --watch db.json --port 5000" | ||
| "server": "json-server --watch db.json --port 5000", | ||
| "storybook": "start-storybook -p 6006 -s public", | ||
| "build-storybook": "build-storybook -s public" | ||
| }, | ||
| "eslintConfig": { | ||
| "extends": [ | ||
| "react-app", | ||
| "react-app/jest" | ||
| ], | ||
| "overrides": [ | ||
| { | ||
| "files": [ | ||
| "**/*.stories.*" | ||
| ], | ||
| "rules": { | ||
| "import/no-anonymous-default-export": "off" | ||
| } | ||
| } | ||
| ] | ||
| }, | ||
| "browserslist": { | ||
| ... | ... | @@ -38,5 +50,18 @@ |
| "last 1 firefox version", | ||
| "last 1 safari version" | ||
| ] | ||
| }, | ||
| "devDependencies": { | ||
| "@storybook/addon-actions": "^6.4.19", | ||
| "@storybook/addon-essentials": "^6.4.19", | ||
| "@storybook/addon-interactions": "^6.4.19", | ||
| "@storybook/addon-links": "^6.4.19", | ||
| "@storybook/builder-webpack5": "^6.4.19", | ||
| "@storybook/manager-webpack5": "^6.4.19", | ||
| "@storybook/node-logger": "^6.4.19", | ||
| "@storybook/preset-create-react-app": "^4.0.1", | ||
| "@storybook/react": "^6.4.19", | ||
| "@storybook/testing-library": "^0.0.9", | ||
| "webpack": "^5.70.0" | ||
| } | ||
| } |
src/components/Button.js
0 → 100644
src/stories/Button.stories.js
0 → 100644
src/stories/button.css
0 → 100644
Please
register
or
sign in
to comment