@gooddata/react-components
Version:
GoodData.UI - A powerful JavaScript library for building analytical applications
16 lines (15 loc) • 663 B
TypeScript
import * as React from "react";
import { WrappedComponentProps } from "react-intl";
import * as numberJS from "@gooddata/numberjs";
import { IFormatTemplate } from "../typings";
interface IFormatInputOwnProps {
format: string;
onFormatChange: (format: string) => void;
separators: numberJS.ISeparators;
templates?: ReadonlyArray<IFormatTemplate>;
}
declare type IFormatInputProps = IFormatInputOwnProps & WrappedComponentProps;
declare const FormatInputWithIntl: React.FunctionComponent<import("react-intl").WithIntlProps<IFormatInputProps>> & {
WrappedComponent: React.ComponentType<IFormatInputProps>;
};
export default FormatInputWithIntl;