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

Function toggleExpand

components/TradingViewWidget.tsx:42–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40 const containerRef = useTradingViewWidget(scriptUrl, widgetConfig, currentHeight);
41
42 const toggleExpand = () => {
43 setIsExpanded(!isExpanded);
44 };
45
46 return (
47 <div className={cn("w-full transition-all duration-300", isExpanded && "fixed inset-0 z-[9999] bg-background")}>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected