@a1um1/lightweight-charts-react-wrapper
Version:

8 lines (7 loc) • 426 B
TypeScript
import { type ReactNode } from "react";
import type { DeepPartial, IPriceScaleApi, PriceScaleOptions } from "lightweight-charts";
export interface PriceScaleProps extends DeepPartial<PriceScaleOptions> {
id: string;
children?: ReactNode;
}
export declare const PriceScale: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<PriceScaleProps & import("react").RefAttributes<IPriceScaleApi>>>;