@gooddata/react-components
Version:
GoodData.UI - A powerful JavaScript library for building analytical applications
21 lines (20 loc) • 835 B
TypeScript
import * as React from "react";
import { WrappedComponentProps } from "react-intl";
import * as numberJS from "@gooddata/numberjs";
interface ICustomFormatPreviewOwnProps {
format: string;
separators?: numberJS.ISeparators;
}
interface ICustomFormatPreviewState {
preview: number;
}
declare type ICustomFormatPreviewProps = ICustomFormatPreviewOwnProps & WrappedComponentProps;
export declare class Preview extends React.PureComponent<ICustomFormatPreviewProps, ICustomFormatPreviewState> {
readonly state: Readonly<ICustomFormatPreviewState>;
render: () => JSX.Element;
private onPreviewChange;
}
declare const _default: React.FunctionComponent<import("react-intl").WithIntlProps<ICustomFormatPreviewProps>> & {
WrappedComponent: React.ComponentType<ICustomFormatPreviewProps>;
};
export default _default;