Skip to content

Commit

Permalink
🏷️ fix: 移除不需使用类型定义
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Feb 17, 2023
1 parent cc596e8 commit f9ee190
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/factories/createThemeProvider/type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ export interface ThemeProviderProps<T, S = Record<string, string>> {
ThemeProvider?: StyledThemeProvider;
useTheme?: () => any;
};
StyledThemeProvider?: StyledThemeProvider;
useTheme?: () => Theme;

// --------------------- antd 主题 --------------------- //
prefixCls?: string;
Expand All @@ -54,7 +52,7 @@ export interface ThemeProviderProps<T, S = Record<string, string>> {
};
// --------------------- 主题切换 --------------------- //
/**
* 应用的展示外观主题,只存在亮色和暗色两种
* 应用的展示外观主题,默认提供亮色和暗色两种,用户可以自行扩展
* @default light
*/
appearance?: ThemeAppearance;
Expand Down

0 comments on commit f9ee190

Please sign in to comment.