storybook/docs/_snippets/storybook-theme-example-variables.md
Andrew Holloway cb54e339df
Update storybook-theme-example-variables.md
Update the import statement example to match conventions in storybook 8.2.x and newer
2024-07-15 10:44:52 -05:00

13 lines
339 B
Markdown

```js filename=".storybook/YourTheme.js" renderer="common" language="js"
import { create } from '@storybook/theming';
export default create({
base: 'light',
brandTitle: 'My custom Storybook',
brandUrl: 'https://example.com',
brandImage: 'https://storybook.js.org/images/placeholders/350x150.png',
brandTarget: '_self',
});
```