Skip to content

Commit

Permalink
Change bindStore to bindI18nStore in ReactOptions type and update def…
Browse files Browse the repository at this point in the history
…ault values (#1489)

* Change bindStore to bindI18nStore in ReactOptions type

Using bindI18nStore in react-i18next was impossible without
ignoring tsc.

* Update default values of bindI18n and bindI18nStore in ReactOptions type

These were assumably out-of-date, see react-i18next doc
  • Loading branch information
JaniL committed Jul 15, 2020
1 parent c10ee50 commit 655bece
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.d.ts
Expand Up @@ -119,14 +119,14 @@ export interface ReactOptions {
defaultTransParent?: string;
/**
* Set which events trigger a re-render, can be set to false or string of events
* @default 'languageChanged loaded'
* @default 'languageChanged'
*/
bindI18n?: string | false;
/**
* Set which events on store trigger a re-render, can be set to false or string of events
* @default 'added removed'
* @default ''
*/
bindStore?: string | false;
bindI18nStore?: string | false;
/**
* Set fallback value for Trans components without children
* @default undefined
Expand Down

0 comments on commit 655bece

Please sign in to comment.