storybook/docs/snippets/web-components/my-component-with-env-variables.js.mdx
2023-01-05 14:53:03 +00:00

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,
},
};
```