(
};
return (
-
-
+
+
+
+
+
+
);
}}
diff --git a/react/demo/src/vite-env.d.ts b/react/demo/src/vite-env.d.ts
index 11f02fe2a0..ee9857a625 100644
--- a/react/demo/src/vite-env.d.ts
+++ b/react/demo/src/vite-env.d.ts
@@ -1 +1,2 @@
+///
///
diff --git a/react/demo/vite.config.ts b/react/demo/vite.config.ts
index 9c9386829a..a2871be640 100644
--- a/react/demo/vite.config.ts
+++ b/react/demo/vite.config.ts
@@ -2,6 +2,7 @@ import {defineConfig} from 'vite';
import react from '@vitejs/plugin-react';
import path from 'path';
import {alias} from '../../viteAlias';
+import svgr from 'vite-plugin-svgr';
// https://vitejs.dev/config/
export default defineConfig((config) => ({
@@ -26,5 +27,5 @@ export default defineConfig((config) => ({
}
: alias,
},
- plugins: [react()],
+ plugins: [svgr(), react()],
}));
diff --git a/svelte/.eslintrc.json b/svelte/.eslintrc.json
index c36037eb06..475fef3b6f 100644
--- a/svelte/.eslintrc.json
+++ b/svelte/.eslintrc.json
@@ -40,7 +40,8 @@
"@typescript-eslint/no-unused-vars": [
"error",
{"vars": "all", "args": "none", "ignoreRestSiblings": false, "varsIgnorePattern": "^\\$\\$(Props|Slots)$"}
- ]
+ ],
+ "svelte/no-at-html-tags": "off"
}
}
]
diff --git a/svelte/demo/src/app/samples/alert/Icon.svelte b/svelte/demo/src/app/samples/alert/Icon.svelte
index 9983c9c384..295600629e 100644
--- a/svelte/demo/src/app/samples/alert/Icon.svelte
+++ b/svelte/demo/src/app/samples/alert/Icon.svelte
@@ -22,7 +22,6 @@
};
-
{@html typeIcon[state.type]}
diff --git a/svelte/demo/src/app/samples/rating/Readonly.route.svelte b/svelte/demo/src/app/samples/rating/Readonly.route.svelte
index ed18932d2a..f2a1b2f8c9 100644
--- a/svelte/demo/src/app/samples/rating/Readonly.route.svelte
+++ b/svelte/demo/src/app/samples/rating/Readonly.route.svelte
@@ -6,9 +6,7 @@
-
{@html heartFill}
-
{@html heartFill}