@react-aria/i18n
Version:
Spectrum UI components in React
29 lines (26 loc) • 1.44 kB
text/typescript
/*
* Copyright 2020 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/
export {I18nProvider, useLocale} from './context';
export {useMessageFormatter} from './useMessageFormatter';
export {useLocalizedStringFormatter} from './useLocalizedStringFormatter';
export {useListFormatter} from './useListFormatter';
export {useDateFormatter} from './useDateFormatter';
export {useNumberFormatter} from './useNumberFormatter';
export {useCollator} from './useCollator';
export {useFilter} from './useFilter';
export type {FormatMessage} from './useMessageFormatter';
export type {I18nProviderProps} from './context';
export type {Locale} from './useDefaultLocale';
export type {LocalizedStrings} from '@internationalized/message';
export type {DateFormatterOptions} from './useDateFormatter';
export type {DateFormatter} from '@internationalized/date';
export type {Filter} from './useFilter';