Skip to content

Commit

Permalink
add support for storybook stories (.stories.tsx|.stories.jsx) (Fixes #28
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Miguel Solorio committed Aug 16, 2022
1 parent f342054 commit 551892f
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
8 changes: 8 additions & 0 deletions src/icons/files/storybook.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 13 additions & 1 deletion src/symbol-icon-theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,21 @@
"postcss": { "iconPath": "./icons/files/postcss.svg" },
"gradle": { "iconPath": "./icons/files/gradle.svg" },
"node": { "iconPath": "./icons/files/node.svg" },
"yaml": { "iconPath": "./icons/files/yaml.svg" }
"yaml": { "iconPath": "./icons/files/yaml.svg" },
"storybook": { "iconPath": "./icons/files/storybook.svg" }
},
"fileExtensions": {
"stories.js": "storybook",
"stories.jsx": "storybook",
"stories.mdx": "storybook",
"story.js": "storybook",
"story.jsx": "storybook",
"stories.ts": "storybook",
"stories.tsx": "storybook",
"story.ts": "storybook",
"story.tsx": "storybook",
"stories.svelte": "storybook",
"story.mdx": "storybook",
"yml": "yaml",
"yaml": "yaml",
"yml.dist": "yaml",
Expand Down

0 comments on commit 551892f

Please sign in to comment.