mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-31 05:03:21 +08:00
add JS syntax highlight
This commit is contained in:
parent
269d6bf199
commit
e655d22995
@ -69,7 +69,7 @@ storiesOf('button', module)
|
||||
|
||||
If you want to add a11y globally to your stories, you can use the global Storybook decorator in your *.storybook/config.js* file:
|
||||
|
||||
```
|
||||
```js
|
||||
import { configure, addDecorator } from '@storybook/react';
|
||||
import { checkA11y } from '@storybook/addon-a11y';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user