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