UNPKG

@gooddata/react-components

Version:
25 lines (24 loc) 922 B
/// <reference types="react" /> /// <reference types="react-intl" /> import * as React from 'react'; import { InjectedIntlProps } from 'react-intl'; import { ISimpleExecutorResult } from 'gooddata'; export interface ITranslationsProviderProps { result: ISimpleExecutorResult; children: any; } export interface ITranslationsComponentProps { data: ISimpleExecutorResult; numericSymbols: string[]; } export declare class TranslationsProvider extends React.Component<ITranslationsProviderProps & InjectedIntlProps, null> { render(): React.SFCElement<{ data: ISimpleExecutorResult; numericSymbols: string[]; }>; private getNumericSymbols(); private getEmptyValueString(); } export declare const IntlTranslationsProvider: React.ComponentClass<ITranslationsProviderProps> & { WrappedComponent: ReactIntl.ComponentConstructor<ITranslationsProviderProps & InjectedIntlProps>; };