mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 07:01:21 +08:00
7 lines
193 B
Plaintext
7 lines
193 B
Plaintext
```js
|
|
// MyComponent.stories.js
|
|
|
|
// This will include './static/image.png' in the bundle.
|
|
// And return a path to be included in a src attribute
|
|
import imageFile from './static/image.png';
|
|
``` |