@coinmeca/ui
Version:
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
32 lines • 831 B
TypeScript
type DataType = "price" | "volume" | "percent";
export interface Histogram {
color?: {
default?: string;
up?: string;
down?: string;
theme?: string;
threshold?: number;
};
field?: {
time?: string;
value?: string;
};
data?: Data[] | any[];
up?: string;
down?: string;
unit?: string;
type?: DataType;
format?: Function;
fallback?: any;
style?: any;
fit?: boolean;
}
export interface Data {
value: number | string;
time: number | string;
type?: string;
}
export declare const Histogram: (props: Histogram) => import("react").JSX.Element;
declare const _default: import("react").MemoExoticComponent<(props: Histogram) => import("react").JSX.Element>;
export default _default;
//# sourceMappingURL=Histogram.d.ts.map