mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 07:21:16 +08:00
7 lines
218 B
Plaintext
7 lines
218 B
Plaintext
```js
|
|
// MyComponent.stories.js | MyComponent.stories.ts
|
|
|
|
// 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';
|
|
``` |