Skip to content

Commit 0225291

Browse files
committed
Storybook favicon
1 parent 951ac46 commit 0225291

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

.storybook/main.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ const config: StorybookConfig = {
2626
return mergeConfig(config, {
2727
plugins: [svgr()]
2828
})
29-
}
29+
},
30+
staticDirs: ['./public'],
31+
managerHead: head => `
32+
${head}
33+
<link rel="shortcut icon" href="/favicon.ico">
34+
`
3035
}
3136
export default config

.storybook/public/favicon.ico

16.6 KB
Binary file not shown.

.storybook/public/favicon.svg

Lines changed: 5 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)