storybook/docs/api/main-config-refs.md
Kyle Gach 92c7faa69f Simplify presentation of properties
- # config.core -> # core
- ## `config.core.builder` -> ## `builder`
- Add "Parent: [main.js|ts configuration](./Overview.md)"
- Update TOC menu title
2023-05-23 14:15:53 -06:00

861 B

title
refs

Parent: main.js|ts configuration

Type:

{ [key: string]:
  | { title: string; url: string; expanded?: boolean }
  | { disable: boolean }
}

Configures Storybook composition.

<CodeSnippets paths={[ 'common/storybook-main-ref-remote.js.mdx', 'common/storybook-main-ref-remote.ts.mdx', ]} />

Disable a ref

Some package dependencies automatically compose their Storybook in yours. You can disable this behavior by setting disable to true for the package name:

<CodeSnippets paths={[ 'common/storybook-main-disable-refs.js.mdx', 'common/storybook-main-disable-refs.ts.mdx', ]} />