@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.15 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 { IntlService } from './IntlService.js';
import { IntlProviderProps } from './IntlProviderProps.js';
import * as React from 'react';
/**
* A React component which provides an internationalization service. Expects a locale string as a property of the component.
*/
export declare class IntlProvider extends React.Component<IntlProviderProps, {}> {
/**
* @hidden
*/
static propTypes: {
locale: PropTypes.Requireable<string>;
};
/**
* Returns an internationalization service. The method is suitable for overriding when you implement custom internationalization behavior.
*/
getIntlService(): IntlService;
/**
* @hidden
*/
render(): React.JSX.Element;
}