diff --git a/components/locale-provider/index.tsx b/components/locale-provider/index.tsx index 820e010183..3a0ba28bb0 100644 --- a/components/locale-provider/index.tsx +++ b/components/locale-provider/index.tsx @@ -20,7 +20,7 @@ export interface Locale { export interface LocaleProviderProps { locale: Locale; - children?: React.ReactElement; + children?: React.ReactNode; } function setMomentLocale(locale: Locale) {