Show first part of Storybook title as root in the UI
This commit is contained in:
parent
bda1ff13f4
commit
af03620071
1 changed files with 9 additions and 0 deletions
|
@ -19,4 +19,13 @@ addDecorator(withThemePlayground({
|
|||
provider: ThemeProvider
|
||||
}));
|
||||
|
||||
addParameters({
|
||||
options: {
|
||||
/**
|
||||
* display the top-level grouping as a "root" in the sidebar
|
||||
*/
|
||||
showRoots: true,
|
||||
},
|
||||
})
|
||||
|
||||
// addDecorator(storyFn => <ThemeProvider theme={theme}>{storyFn()}</ThemeProvider>);
|
||||
|
|
Loading…
Reference in a new issue