1 | import { createFormattedComponent, createFormattedDateTimePartsComponent, } from './src/components/createFormattedComponent';
|
2 | export { createIntlCache, UnsupportedFormatterError, InvalidConfigError, MissingDataError, MessageFormatError, MissingTranslationError, IntlErrorCode as ReactIntlErrorCode, IntlError as ReactIntlError, } from '@formatjs/intl';
|
3 | export function defineMessages(msgs) {
|
4 | return msgs;
|
5 | }
|
6 | export function defineMessage(msg) {
|
7 | return msg;
|
8 | }
|
9 | export { default as injectIntl, Provider as RawIntlProvider, Context as IntlContext, } from './src/components/injectIntl';
|
10 | export { default as useIntl } from './src/components/useIntl';
|
11 | export { default as IntlProvider, createIntl } from './src/components/provider';
|
12 |
|
13 | export var FormattedDate = createFormattedComponent('formatDate');
|
14 | export var FormattedTime = createFormattedComponent('formatTime');
|
15 |
|
16 | export var FormattedNumber = createFormattedComponent('formatNumber');
|
17 | export var FormattedList = createFormattedComponent('formatList');
|
18 | export var FormattedDisplayName = createFormattedComponent('formatDisplayName');
|
19 | export var FormattedDateParts = createFormattedDateTimePartsComponent('formatDate');
|
20 | export var FormattedTimeParts = createFormattedDateTimePartsComponent('formatTime');
|
21 | export { FormattedNumberParts, FormattedListParts, } from './src/components/createFormattedComponent';
|
22 | export { default as FormattedRelativeTime } from './src/components/relative';
|
23 | export { default as FormattedPlural } from './src/components/plural';
|
24 | export { default as FormattedMessage } from './src/components/message';
|
25 | export { default as FormattedDateTimeRange } from './src/components/dateTimeRange';
|