Fix crash when using an inline svg Icon

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2022-05-25 15:42:59 -04:00
1 parent 58ffb38d74
commit 4a6fe3b55d
3 files changed
+68 -11

No files matched your search

+5 -1
View File
@@ -25,7 +25,11 @@ declare module "*.scss" {
// Declare everything what's bundled as webpack's type="asset/resource"
// Should be mocked for tests support in jestConfig.moduleNameMapper (currently in "/package.json")
declare module "*.svg";
declare module "*.svg" {
const content: string;
export = content;
}
declare module "*.jpg";
declare module "*.png";
declare module "*.eot";