@progress/kendo-react-intl
Version:
React Internationalization package provides services for parsing and formatting of dates and numbers. KendoReact Internationalization package
25 lines (24 loc) • 1.17 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 React } from 'react';
/**
* @hidden Currently used only externally through the ServerGlobalization of the Grid.
*/
export type ServerGlobalizationProps = {
locale?: string;
language?: string;
children?: React.ReactNode;
};
/**
* @hidden
* Assembles all necessary parts for both localization and internationalization to work in a server/client environments.
* Combined in a single `ServerGlobalization` component for convenience.
* From everything that has been loaded on the server, only pass what's necessary to the client, which is loaded on the client by the `DataProvider`s.
* This would result in minimal amount of data being transferred to the client.
*/
export declare const ServerGlobalization: (props: ServerGlobalizationProps) => React.JSX.Element;