Skip to content

Commit e07c40d

Browse files
committed
chore: emotion typings
1 parent 99dacd6 commit e07c40d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/@emotion__core.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// a dumb stub, workaround for storybook emotion problem
2+
// can be removed once Storybook v5 is released and we can have own @emotion/core installed
3+
declare module '@emotion/core' {
4+
import { createElement } from 'react';
5+
6+
export const jsx: typeof createElement;
7+
export const css: Function;
8+
}

0 commit comments

Comments
 (0)