MCPcopy Create free account
hub / github.com/Open-Dev-Society/OpenStock / TradingViewWidgetProps

Interface TradingViewWidgetProps

components/TradingViewWidget.tsx:9–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7import { Button } from '@/components/ui/button';
8
9interface TradingViewWidgetProps {
10 title?: string;
11 scriptUrl: string;
12 config: Record<string, unknown>;
13 height?: number;
14 className?: string;
15 allowExpand?: boolean;
16}
17
18const TradingViewWidget = ({ title, scriptUrl, config, height = 600, className, allowExpand = false }: TradingViewWidgetProps) => {
19 const [isExpanded, setIsExpanded] = useState(false);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected