We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c1a895 commit 3c943b0Copy full SHA for 3c943b0
src/packages/core/icon-registry/types.ts
@@ -1,9 +1,13 @@
1
import type { JsLoaderProperty } from '@umbraco-cms/backoffice/extension-api';
2
3
-export interface UmbIconDefinition<JsType extends object = object> {
+export interface UmbIconDefinition<JsType = any> {
4
name: string;
5
path: JsLoaderProperty<JsType>;
6
legacy?: boolean;
7
}
8
9
export type UmbIconDictionary = Array<UmbIconDefinition>;
10
+
11
+export interface UmbIconModule {
12
+ default: string;
13
+}
0 commit comments