gt-react 9.2.11 → 9.2.12-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.d.ts CHANGED
@@ -292,7 +292,7 @@ declare function useLocale(): string;
292
292
  * ```jsx
293
293
  * // Basic usage:
294
294
  * <T id="welcome_message">
295
- * Hello, <Var name="name" value={firstname}>!
295
+ * Hello, <Var>{name}</Var>!
296
296
  * </T>
297
297
  * ```
298
298
  *
@@ -300,8 +300,8 @@ declare function useLocale(): string;
300
300
  * ```jsx
301
301
  * // Translating a plural
302
302
  * <T id="item_count">
303
- * <Plural n={3} singular={<>You have <Num value={n}/> item.</>}>
304
- * You have <Num value={n}/> items.
303
+ * <Plural n={3} singular={<>You have <Num children={n}/> item.</>}>
304
+ * You have <Num children={n}/> items.
305
305
  * </Plural>
306
306
  * </T>
307
307
  * ```
@@ -466,7 +466,7 @@ declare function LocaleSelector({ locales: _locales, ...props }: {
466
466
  *
467
467
  * @returns {JSX.Element} The provider component for General Translation context.
468
468
  */
469
- declare function GTProvider({ children, projectId: _projectId, devApiKey: _devApiKey, dictionary: _dictionary, locales, defaultLocale, locale: _locale, cacheUrl, runtimeUrl, renderSettings, loadDictionary, loadTranslations, fallback, _versionId, ...metadata }: {
469
+ declare function GTProvider({ children, projectId: _projectId, devApiKey: _devApiKey, dictionary: _dictionary, locales, defaultLocale, locale: _locale, cacheUrl, runtimeUrl, renderSettings, loadDictionary, loadTranslations, fallback, ssr, _versionId, ...metadata }: {
470
470
  children?: React__default.ReactNode;
471
471
  projectId?: string;
472
472
  devApiKey?: string;
@@ -483,6 +483,7 @@ declare function GTProvider({ children, projectId: _projectId, devApiKey: _devAp
483
483
  loadDictionary?: CustomLoader;
484
484
  loadTranslations?: CustomLoader;
485
485
  _versionId?: string;
486
+ ssr?: boolean;
486
487
  [key: string]: any;
487
488
  }): React__default.JSX.Element;
488
489