mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 16:06:28 +08:00
fix: issue with TypeScript for children of LocaleProvider (#4234)
Similar to issue:
https://github.com/ant-design/ant-design/issues/4140
Fixed in similar manner to how this issue was resolved:
a28743f648 (diff-9ae0a9df19960a2d1b9608f30f6b19b3)
children?: React.ReactElement<any>
This commit is contained in:
parent
a973ae18b5
commit
21ec9cb985
@ -13,7 +13,7 @@ export interface LocaleProviderProps {
|
||||
Transfer?: Object,
|
||||
Select?: Object,
|
||||
};
|
||||
children: any;
|
||||
children?: React.ReactElement<any>;
|
||||
}
|
||||
|
||||
export default class LocaleProvider extends React.Component<LocaleProviderProps, any> {
|
||||
|
Loading…
Reference in New Issue
Block a user