mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 07:21:16 +08:00
19 lines
412 B
Plaintext
19 lines
412 B
Plaintext
---
|
|
title: 'env'
|
|
sidebar:
|
|
order: 10
|
|
title: env
|
|
---
|
|
|
|
Parent: [main.js|ts configuration](./main-config.mdx)
|
|
|
|
Type: `(config: { [key: string]: string }) => { [key: string]: string }`
|
|
|
|
Defines custom Storybook [environment variables](../../configure/environment-variables.mdx#using-storybook-configuration).
|
|
|
|
{/* prettier-ignore-start */}
|
|
|
|
<CodeSnippets path="main-config-env.md" />
|
|
|
|
{/* prettier-ignore-end */}
|