@gooddata/react-components
Version:
GoodData.UI - A powerful JavaScript library for building analytical applications
18 lines (17 loc) • 799 B
TypeScript
import * as React from "react";
import { WrappedComponentProps, IntlShape } from "react-intl";
export interface ITranslationsProviderProps {
children: any;
}
export interface ITranslationsComponentProps {
numericSymbols: string[];
emptyHeaderString: string;
}
export declare const getNumericSymbols: (intl: IntlShape) => string[];
export declare class TranslationsProvider extends React.PureComponent<ITranslationsProviderProps & WrappedComponentProps> {
render(): any;
private getEmptyHeaderString;
}
export declare const IntlTranslationsProvider: React.FunctionComponent<import("react-intl").WithIntlProps<ITranslationsProviderProps & WrappedComponentProps<"intl">>> & {
WrappedComponent: React.ComponentType<ITranslationsProviderProps & WrappedComponentProps<"intl">>;
};