Skip to content

Commit

Permalink
🐛 fix: fix ThemeProvider's children to non-required (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
wjq990112 committed Jun 2, 2023
1 parent d4de053 commit 3c13c7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/factories/createThemeProvider/type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { NotificationConfig, NotificationInstance } from 'antd/es/notification/i
import { ReactNode } from 'react';

export interface ThemeProviderProps<T, S = Record<string, string>> {
children: ReactNode;
children?: ReactNode;
// --------------------- 自定义主题 --------------------- //
/**
* 自定义 Token
Expand Down

0 comments on commit 3c13c7d

Please sign in to comment.