mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-09 00:19:13 +08:00
817 B
817 B
title |
---|
config.refs |
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', ]} />