mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:48:55 +08:00
fix: 命名拼写错误
This commit is contained in:
parent
415ad0135d
commit
506e256705
@ -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 {
|
||||
|
@ -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> {
|
||||
|
Loading…
Reference in New Issue
Block a user