Skip to content

Commit

Permalink
add children prop (#1478)
Browse files Browse the repository at this point in the history
  • Loading branch information
sachinahya committed Apr 10, 2022
1 parent 41ff4be commit 76ac82c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.d.ts
Expand Up @@ -107,6 +107,7 @@ export function withTranslation(
) => React.ComponentType<Omit<ResolvedProps, keyof WithTranslation> & WithTranslationProps>;

export interface I18nextProviderProps {
children?: React.ReactNode;
i18n: i18n;
defaultNS?: string;
}
Expand Down
1 change: 1 addition & 0 deletions ts4.1/index.d.ts
Expand Up @@ -341,6 +341,7 @@ export function withTranslation<N extends Namespace = DefaultNamespace>(
) => React.ComponentType<Omit<ResolvedProps, keyof WithTranslation<N>> & WithTranslationProps>;

export interface I18nextProviderProps {
children?: React.ReactNode;
i18n: i18n;
defaultNS?: string;
}
Expand Down

0 comments on commit 76ac82c

Please sign in to comment.