mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 01:01:06 +08:00
Merge pull request #12504 from holylander/patch-1
just add the react dep
This commit is contained in:
commit
0cbe88e5ec
@ -1,6 +1,7 @@
|
||||
```js
|
||||
// .storybook/preview.js
|
||||
|
||||
import React from "react";
|
||||
import { ThemeProvider } from 'styled-components';
|
||||
|
||||
export const decorators = [
|
||||
@ -10,4 +11,4 @@ export const decorators = [
|
||||
</ThemeProvider>
|
||||
),
|
||||
];
|
||||
```
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user