mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-11 00:06:25 +08:00
19 lines
288 B
Plaintext
19 lines
288 B
Plaintext
```js
|
|
// MyComponent.stories.js|jsx
|
|
|
|
import { MyComponent } from './MyComponent';
|
|
|
|
export default {
|
|
component: MyComponent,
|
|
};
|
|
|
|
export const NonA11yStory = {
|
|
parameters: {
|
|
a11y: {
|
|
// This option disables all a11y checks on this story
|
|
disable: true,
|
|
},
|
|
},
|
|
};
|
|
```
|