feat: Support dayjs and component library in multiple languages
This commit is contained in:
@@ -8,6 +8,12 @@ interface LocaleSetupOptions {
|
||||
* @default zh-CN
|
||||
*/
|
||||
defaultLocale?: SupportedLanguagesType;
|
||||
/**
|
||||
* Load third-party library messages
|
||||
* @param lang
|
||||
* @returns
|
||||
*/
|
||||
loadThirdPartyMessage?: (lang: SupportedLanguagesType) => Promise<void>;
|
||||
}
|
||||
|
||||
export type { ImportLocaleFn, LocaleSetupOptions, SupportedLanguagesType };
|
||||
|
Reference in New Issue
Block a user