UNPKG

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