django-vue3-admin-web/node_modules/e-icon-picker/utils/config.d.ts
2025-10-20 21:21:14 +08:00

27 lines
563 B
TypeScript

export declare type Options = {
/**
* 增加的图标
*/
addIconList: string[];
/**
* 删除的图标
*/
removeIconList: string[];
/**
* z-index
*/
zIndex: number;
};
export declare let options: Options;
/**
* 获取全局配置
* @param key 配置key
* @param defaultValue 默认值
*/
export declare function useGlobalConfig<K extends keyof Options>(key: K, defaultValue?: any): any;
/**
* 设置全局配置
* @param option 配置信息
*/
export declare const setConfig: (option: Options) => void;