-
Notifications
You must be signed in to change notification settings - Fork 0
/
typings.d.ts
50 lines (40 loc) · 1.14 KB
/
typings.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// SVG Start
import React from "react";
declare module "assets/*.svg" {
const SVG: React.VFC<React.SVGProps<SVGSVGElement>>;
export default SVG;
}
// SVG End
// MUI Start
import {
IColors,
ITypography,
IBreakPoints,
} from "./features/theme/themeStyles";
import { Theme } from "@mui/material/styles/createTheme";
import "styled-components";
declare module "@mui/material/styles/createPalette" {
export interface PaletteOptions extends IColors {}
export interface Palette extends IColors {}
}
declare module "@mui/material/styles/createTypography" {
export interface TypographyOptions extends ITypography {}
export interface Typography extends ITypography {}
}
declare module "@mui/system/createTheme/createBreakpoints" {
export interface BreakpointOverrides extends IBreakPoints {}
}
declare module "styled-components" {
export interface DefaultTheme extends Theme {}
}
// MUI End
// CSS / SCSS Start
declare module "*.scss" {
const content: Record<string, string>;
export default content;
}
declare module "*.css" {
const content: Record<string, string>;
export default content;
}
// CSS / SCSS End