We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee8a8aa commit 16d7ed9Copy full SHA for 16d7ed9
src/components/injectIntl.tsx
@@ -29,7 +29,7 @@ export type WrappedComponentProps<IntlPropName extends string = 'intl'> = {
29
[k in IntlPropName]: IntlShape;
30
};
31
32
-type WithIntlProps<P> = Omit<P, keyof WrappedComponentProps> & {
+export type WithIntlProps<P> = Omit<P, keyof WrappedComponentProps> & {
33
forwardedRef?: React.Ref<any>;
34
35
src/index.ts
@@ -10,6 +10,7 @@ export {default as defineMessages} from './define-messages';
10
export {
11
default as injectIntl,
12
Context as IntlContext,
13
+ WithIntlProps,
14
} from './components/injectIntl';
15
export {default as useIntl} from './components/useIntl';
16
export {default as IntlProvider} from './components/provider';
0 commit comments