react-ts-tradingview-widgets-fixed
Version:
This is a React component library for TradingView Widgets. TypeScript is fully supported for every component!
39 lines (38 loc) • 1.22 kB
TypeScript
import React from "react";
import { ColorTheme, DateRange, CopyrightStyles, Locales } from "../index";
export declare type MarketOverviewSymbol = {
s: string;
d?: string;
};
export declare type MarketOverviewTab = {
title: string;
symbols: MarketOverviewSymbol[];
originalTitle: string;
};
export declare type MarketOverviewProps = {
colorTheme?: ColorTheme;
dateRange?: DateRange;
showChart?: boolean;
locale?: Locales;
largeChartUrl?: string;
isTransparent?: boolean;
showSymbolLogo?: boolean;
showFloatingTooltip?: boolean;
width?: string | number;
height?: string | number;
autosize?: boolean;
plotLineColorGrowing?: string;
plotLineColorFalling?: string;
gridLineColor?: string;
scaleFontColor?: string;
belowLineFillColorGrowing?: string;
belowLineFillColorFalling?: string;
belowLineFillColorGrowingBottom?: string;
belowLineFillColorFallingBottom?: string;
symbolActiveColor?: string;
tabs?: MarketOverviewTab[];
children?: never;
copyrightStyles?: CopyrightStyles;
};
declare const MarketOverview: React.FC<MarketOverviewProps>;
export default MarketOverview;