add interface for IconModule
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
import type { JsLoaderProperty } from '@umbraco-cms/backoffice/extension-api';
|
||||
|
||||
export interface UmbIconDefinition<JsType extends object = object> {
|
||||
export interface UmbIconDefinition<JsType = any> {
|
||||
name: string;
|
||||
path: JsLoaderProperty<JsType>;
|
||||
legacy?: boolean;
|
||||
}
|
||||
|
||||
export type UmbIconDictionary = Array<UmbIconDefinition>;
|
||||
|
||||
export interface UmbIconModule {
|
||||
default: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user