Skip to content

Commit

Permalink
docs: add Storybook Badge for each component
Browse files Browse the repository at this point in the history
  • Loading branch information
simonguo committed Jan 24, 2024
1 parent f357ced commit 217ef5f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion docs/components/scripts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,17 @@ export function installCarbon() {
}

function createStorybook(componentName: string) {
const ignoreList = ['Affix', 'Animation', 'DOMHelper', 'Whisper', 'DOMHelper', 'CustomProvider'];
const ignoreList = [
'Affix',
'Animation',
'DOMHelper',
'Whisper',
'useMediaQuery',
'CustomProvider',
'Overview',
'Icons',
'CSS Reset'
];

if (ignoreList.includes(componentName) || !componentName) {
return null;
Expand Down

0 comments on commit 217ef5f

Please sign in to comment.