mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 07:21:16 +08:00
15 lines
206 B
Plaintext
15 lines
206 B
Plaintext
```js
|
|
// MyComponent.stories.js
|
|
|
|
export default {
|
|
title: 'MyComponent',
|
|
component: 'my-component',
|
|
};
|
|
|
|
export const ExampleStory = {
|
|
args: {
|
|
propertyA: process.env.STORYBOOK_DATA_KEY,
|
|
},
|
|
};
|
|
```
|