Show first part of Storybook title as root in the UI

This commit is contained in:
Andrew Nicolaou 2020-04-19 17:13:24 +02:00
parent bda1ff13f4
commit af03620071

View file

@ -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>);