diff --git a/packages/react-intl/src/components/provider.tsx b/packages/react-intl/src/components/provider.tsx index c729e23719..00c2e55cf9 100644 --- a/packages/react-intl/src/components/provider.tsx +++ b/packages/react-intl/src/components/provider.tsx @@ -165,7 +165,9 @@ export function createIntl( } export default class IntlProvider extends React.PureComponent< - OptionalIntlConfig, + // Exporting children props so it is composable with other HOCs. + // See: https://github.com/formatjs/formatjs/issues/1697 + React.PropsWithChildren, State > { static displayName = 'IntlProvider';