fix: 命名拼写错误

This commit is contained in:
YangFong 2023-09-06 20:30:51 +08:00
parent 415ad0135d
commit 506e256705
2 changed files with 4 additions and 4 deletions

View File

@ -99,8 +99,8 @@ export function getDefaultLocale() {
return defaultLocale;
}
export function setDefaultLocale(loacle: string) {
defaultLocale = loacle;
export function setDefaultLocale(locale: string) {
defaultLocale = locale;
}
export interface LocaleProps {

View File

@ -122,7 +122,7 @@ export interface ThemeProps {
};
}
export interface ThemeOutterProps extends Partial<ThemeProps> {}
export interface ThemeOuterProps extends Partial<ThemeProps> {}
export let defaultTheme: string = 'cxd';
export const ThemeContext = React.createContext('');
@ -136,7 +136,7 @@ export function themeable<
T,
Omit<React.ComponentProps<T>, keyof ThemeProps>
> &
ThemeOutterProps;
ThemeOuterProps;
const result = hoistNonReactStatic(
class extends React.Component<OuterProps> {