| 16 | import { useHudInteraction } from "./contexts/HudInteractionContext"; |
| 17 | |
| 18 | interface SourceSelectorProps { |
| 19 | /** List of available screen sources */ |
| 20 | screenSources?: DesktopSource[]; |
| 21 | /** List of available window sources */ |
| 22 | windowSources?: DesktopSource[]; |
| 23 | /** Currently selected source name */ |
| 24 | selectedSource?: string; |
| 25 | /** Loading state */ |
| 26 | loading?: boolean; |
| 27 | /** Callback when a source is selected */ |
| 28 | onSourceSelect?: (source: DesktopSource) => void; |
| 29 | /** Callback to fetch sources */ |
| 30 | onFetchSources?: () => Promise<void>; |
| 31 | /** Whether the popover is open */ |
| 32 | open?: boolean; |
| 33 | /** Callback when open state changes */ |
| 34 | onOpenChange?: (open: boolean) => void; |
| 35 | /** Optional custom trigger element */ |
| 36 | children?: React.ReactNode; |
| 37 | } |
| 38 | |
| 39 | export function MarqueeText({ text }: { text: string }) { |
| 40 | const staticRef = useRef<HTMLSpanElement>(null); |
nothing calls this directly
no outgoing calls
no test coverage detected