Skip to content

Commit

Permalink
feat: add accessibility add-on to Storybook (#12)
Browse files Browse the repository at this point in the history
* feat: add accessibility add-on to Storybook

* fix: install @storybook/addon-a11y with npm instead of yarn and delete yarn.lock
  • Loading branch information
alex9000 authored Aug 17, 2022
1 parent 3c3e903 commit 3c999e8
Show file tree
Hide file tree
Showing 5 changed files with 502 additions and 13 deletions.
20 changes: 9 additions & 11 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
module.exports = {
"stories": [
"../src/**/*.stories.mdx",
"../src/**/*.stories.@(js|jsx|ts|tsx)"
],
"addons": [
stories: ["../src/**/*.stories.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"],
addons: [
"@storybook/addon-a11y",
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-interactions"
"@storybook/addon-interactions",
],
"framework": "@storybook/react",
"core": {
"builder": "@storybook/builder-webpack5"
}
}
framework: "@storybook/react",
core: {
builder: "@storybook/builder-webpack5",
},
};
Loading

0 comments on commit 3c999e8

Please sign in to comment.