@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).
39 lines • 1.01 kB
TypeScript
import type { AreaData } from "lightweight-charts";
import { Volume } from "./Candle";
type DataType = "price" | "volume" | "percent";
export interface Area {
color?: {
default?: string;
up?: string;
down?: string;
theme?: string;
};
field?: {
time?: string;
value?: string;
volume?: string;
};
data?: AreaData[] | any[];
volume?: Volume[];
up?: string;
down?: string;
type?: DataType | {
area?: DataType;
histogram?: DataType;
};
format?: Function | {
area?: Function;
histogram?: Function;
};
unit?: string | {
area?: string;
histogram?: string;
};
fallback?: any;
style?: any;
fit?: boolean;
}
export declare const Area: (props: Area) => import("react").JSX.Element;
declare const _default: import("react").MemoExoticComponent<(props: Area) => import("react").JSX.Element>;
export default _default;
//# sourceMappingURL=Area.d.ts.map