Options
All
  • Public
  • Public/Protected
  • All
Menu

Module react-i18n

Index

Variables

Const FormattedMessage

FormattedMessage: { contextTypes: { intl: Requireable<InferProps<{ defaultFormats: Requireable<object>; defaultLocale: Requireable<string>; formatDate: Validator<(...args: any[]) => any>; formatHTMLMessage: Validator<(...args: any[]) => any>; formatMessage: Validator<(...args: any[]) => any>; formatNumber: Validator<(...args: any[]) => any>; formatPlural: Validator<(...args: any[]) => any>; formatRelative: Validator<(...args: any[]) => any>; formatTime: Validator<(...args: any[]) => any>; formats: Requireable<object>; formatters: Requireable<object>; locale: Requireable<string>; messages: Requireable<object>; now: Validator<(...args: any[]) => any>; textComponent: Requireable<any> }>> } } = ...

Type declaration

  • contextTypes: { intl: Requireable<InferProps<{ defaultFormats: Requireable<object>; defaultLocale: Requireable<string>; formatDate: Validator<(...args: any[]) => any>; formatHTMLMessage: Validator<(...args: any[]) => any>; formatMessage: Validator<(...args: any[]) => any>; formatNumber: Validator<(...args: any[]) => any>; formatPlural: Validator<(...args: any[]) => any>; formatRelative: Validator<(...args: any[]) => any>; formatTime: Validator<(...args: any[]) => any>; formats: Requireable<object>; formatters: Requireable<object>; locale: Requireable<string>; messages: Requireable<object>; now: Validator<(...args: any[]) => any>; textComponent: Requireable<any> }>> }
    • intl: Requireable<InferProps<{ defaultFormats: Requireable<object>; defaultLocale: Requireable<string>; formatDate: Validator<(...args: any[]) => any>; formatHTMLMessage: Validator<(...args: any[]) => any>; formatMessage: Validator<(...args: any[]) => any>; formatNumber: Validator<(...args: any[]) => any>; formatPlural: Validator<(...args: any[]) => any>; formatRelative: Validator<(...args: any[]) => any>; formatTime: Validator<(...args: any[]) => any>; formats: Requireable<object>; formatters: Requireable<object>; locale: Requireable<string>; messages: Requireable<object>; now: Validator<(...args: any[]) => any>; textComponent: Requireable<any> }>>

Const IntlProviderContext

IntlProviderContext: Context<IntlProviderContextValue> = ...

Const dateTimeFormatPropTypes

dateTimeFormatPropTypes: { day: Requireable<string>; era: Requireable<string>; formatMatcher: Requireable<string>; hour: Requireable<string>; hour12: Requireable<boolean>; localeMatcher: Requireable<string>; minute: Requireable<string>; month: Requireable<string>; second: Requireable<string>; timeZone: Requireable<string>; timeZoneName: Requireable<string>; weekday: Requireable<string>; year: Requireable<string> } = ...

Type declaration

  • day: Requireable<string>
  • era: Requireable<string>
  • formatMatcher: Requireable<string>
  • hour: Requireable<string>
  • hour12: Requireable<boolean>
  • localeMatcher: Requireable<string>
  • minute: Requireable<string>
  • month: Requireable<string>
  • second: Requireable<string>
  • timeZone: Requireable<string>
  • timeZoneName: Requireable<string>
  • weekday: Requireable<string>
  • year: Requireable<string>

Const intlConfigPropTypes

intlConfigPropTypes: { defaultFormats: Requireable<object>; defaultLocale: Requireable<string>; formats: Requireable<object>; locale: Requireable<string>; messages: Requireable<object>; textComponent: Requireable<any> } = ...

Type declaration

  • defaultFormats: Requireable<object>
  • defaultLocale: Requireable<string>
  • formats: Requireable<object>
  • locale: Requireable<string>
  • messages: Requireable<object>
  • textComponent: Requireable<any>

Const intlFormatPropTypes

intlFormatPropTypes: { formatDate: Validator<(...args: any[]) => any>; formatHTMLMessage: Validator<(...args: any[]) => any>; formatMessage: Validator<(...args: any[]) => any>; formatNumber: Validator<(...args: any[]) => any>; formatPlural: Validator<(...args: any[]) => any>; formatRelative: Validator<(...args: any[]) => any>; formatTime: Validator<(...args: any[]) => any> } = ...

Type declaration

  • formatDate: Validator<(...args: any[]) => any>
  • formatHTMLMessage: Validator<(...args: any[]) => any>
  • formatMessage: Validator<(...args: any[]) => any>
  • formatNumber: Validator<(...args: any[]) => any>
  • formatPlural: Validator<(...args: any[]) => any>
  • formatRelative: Validator<(...args: any[]) => any>
  • formatTime: Validator<(...args: any[]) => any>

Const intlShape

intlShape: Requireable<InferProps<{ defaultFormats: Requireable<object>; defaultLocale: Requireable<string>; formatDate: Validator<(...args: any[]) => any>; formatHTMLMessage: Validator<(...args: any[]) => any>; formatMessage: Validator<(...args: any[]) => any>; formatNumber: Validator<(...args: any[]) => any>; formatPlural: Validator<(...args: any[]) => any>; formatRelative: Validator<(...args: any[]) => any>; formatTime: Validator<(...args: any[]) => any>; formats: Requireable<object>; formatters: Requireable<object>; locale: Requireable<string>; messages: Requireable<object>; now: Validator<(...args: any[]) => any>; textComponent: Requireable<any> }>> = ...

Const messageDescriptorPropTypes

messageDescriptorPropTypes: { defaultMessage: Requireable<string>; description: Requireable<string>; id: Validator<string> } = ...

Type declaration

  • defaultMessage: Requireable<string>
  • description: Requireable<string>
  • id: Validator<string>

Const numberFormatPropTypes

numberFormatPropTypes: { currency: Requireable<string>; currencyDisplay: Requireable<string>; localeMatcher: Requireable<string>; maximumFractionDigits: Requireable<number>; maximumSignificantDigits: Requireable<number>; minimumFractionDigits: Requireable<number>; minimumIntegerDigits: Requireable<number>; minimumSignificantDigits: Requireable<number>; style: Requireable<string>; useGrouping: Requireable<boolean> } = ...

Type declaration

  • currency: Requireable<string>
  • currencyDisplay: Requireable<string>
  • localeMatcher: Requireable<string>
  • maximumFractionDigits: Requireable<number>
  • maximumSignificantDigits: Requireable<number>
  • minimumFractionDigits: Requireable<number>
  • minimumIntegerDigits: Requireable<number>
  • minimumSignificantDigits: Requireable<number>
  • style: Requireable<string>
  • useGrouping: Requireable<boolean>

Const pluralFormatPropTypes

pluralFormatPropTypes: { style: Requireable<string> } = ...

Type declaration

  • style: Requireable<string>

Const relativeFormatPropTypes

relativeFormatPropTypes: { style: Requireable<string>; units: Requireable<string> } = ...

Type declaration

  • style: Requireable<string>
  • units: Requireable<string>

Functions

Const IntlProvider

  • Parameters

    Returns Element

Const useIntlContext

Generated using TypeDoc