🔧(react) remove Misc stories from Storybook sidebar
These files include stories only used from regular documentation, they have no other purpose so we decided to hide them.
This commit is contained in:
@@ -32,3 +32,13 @@ addons.register('theme-synchronizer', () => {
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
addons.setConfig({
|
||||
sidebar: {
|
||||
filters: {
|
||||
hidden: item => {
|
||||
return !item.title.startsWith('Misc/');
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user