MCPcopy
hub / github.com/webadderallorg/Recordly / SourceSelectorProps

Interface SourceSelectorProps

src/components/launch/SourceSelector.tsx:18–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16import { useHudInteraction } from "./contexts/HudInteractionContext";
17
18interface 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
39export function MarqueeText({ text }: { text: string }) {
40 const staticRef = useRef<HTMLSpanElement>(null);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected