---
title: 'refs'
---
Parent: [main.js|ts configuration](./main-config.md)
Type:
```ts
{ [key: string]:
| { title: string; url: string; expanded?: boolean }
| (config: { title: string; url: string; expanded?: boolean }) => { title: string; url: string; expanded?: boolean }
| { disable: boolean }
}
```
Configures [Storybook composition](../sharing/storybook-composition.md).
## Using a function
You can use a function to dynamically configure refs:
## Disable a ref
Some package dependencies automatically [compose their Storybook in yours](../sharing/package-composition.md). You can disable this behavior by setting `disable` to `true` for the package name: