Skip to content

Commit 0d53b5d

Browse files
committed
fix(project): fix style component css props issue
1 parent 9a31fdb commit 0d53b5d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

frontend/src/types.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,15 @@ import { MainState } from 'app/pages/MainPage/slice/types';
1212
import { SharePageState } from 'app/pages/SharePage/slice/types';
1313
import { StoryBoardState } from 'app/pages/StoryBoardPage/slice/types';
1414
import { AppState } from 'app/slice/types';
15+
import { CSSProp } from 'styled-components';
1516
import { ThemeState } from 'styles/theme/slice/types';
1617

18+
declare module 'react' {
19+
interface DOMAttributes<T> {
20+
css?: CSSProp;
21+
}
22+
}
23+
1724
export interface RootState {
1825
theme?: ThemeState;
1926
app?: AppState;

0 commit comments

Comments
 (0)