react-ts-tradingview-widgets
Version:
This is a React component library for TradingView Widgets. TypeScript is fully supported for every component!
12 lines (11 loc) • 326 B
TypeScript
import React from "react";
import { CopyrightProps } from "./Copyright";
interface WidgetProps {
scriptHTML: unknown;
scriptSRC: string;
containerId?: string;
type?: "Widget" | "MediumWidget";
copyrightProps: CopyrightProps;
}
declare const Widget: React.FC<WidgetProps>;
export default Widget;