storybook/docs/snippets/common/storybook-addon-a11y-disable.js.mdx
2021-10-26 18:51:33 +01:00

20 lines
309 B
Plaintext

```js
// MyComponent.stories.js|jsx|ts|tsx
import { MyComponent } from './YourComponent';
export default {
component: MyComponent,
};
export const NonA11yStory = {
args: {},
parameters: {
a11y: {
// This option disables all a11y checks on this story
disable: true,
},
},
};
```