@progress/kendo-react-intl
Version:
React Internationalization package provides services for parsing and formatting of dates and numbers. KendoReact Internationalization package
31 lines (30 loc) • 1.19 kB
TypeScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
import { default as PropTypes } from 'prop-types';
import { LocalizationProviderProps } from './LocalizationProviderProps';
import { LocalizationService } from './LocalizationService.js';
import * as React from 'react';
/**
* A React component which provides a localization service. Expects a language string as a property of the component.
*/
export declare class LocalizationProvider extends React.Component<LocalizationProviderProps, {}> {
/**
* @hidden
*/
static propTypes: {
language: PropTypes.Requireable<string>;
};
/**
* Returns a localization service. The method is suitable for overriding when you implement custom localization behavior.
*/
getLocalizationService(): LocalizationService;
/**
* @hidden
*/
render(): React.JSX.Element;
}