Third-party API

React Intl IntlProvider

Provide locale and messages for FormatJS React Intl components and hooks.

Formal Syntax & Structure

react syntaxreact
<IntlProvider locale={locale} messages={messages}>...</IntlProvider>

Working Example

Example Snippetreact
<FormattedMessage id="desk.title" />
React Reference