This commit is contained in:
lik
2026-05-28 17:06:18 +08:00
parent a93a75b3c6
commit db0f47d994
582 changed files with 8060 additions and 1781 deletions

View File

@@ -0,0 +1,5 @@
export declare function getComponentLocale<T extends Record<string, any>>(component: any, componentName: string, defaultLocale: T, localePropName?: string): T;
export declare function useConfig(componentName: string): {
getLocale<T extends Record<string, any>>(defaultLocale: T, component: any): T;
subscribeLocale(component: any, callback: (locale: Record<string, any>) => void): () => void;
};