import { Button } from "@/components/button/Button"; import { LoadingSVG } from "@/components/button/LoadingSVG"; import { SettingsDropdown } from "@/components/playground/SettingsDropdown"; import { useConfig } from "@/hooks/useConfig"; import { ConnectionState } from "livekit-client"; import { ReactNode } from "react"; type PlaygroundHeader = { logo?: ReactNode; title?: ReactNode; githubLink?: string; height: number; accentColor: string; connectionState: ConnectionState; onConnectClicked: () => void; }; export const PlaygroundHeader = ({ logo, title, githubLink, accentColor, height, onConnectClicked, connectionState, }: PlaygroundHeader) => { const { config } = useConfig(); return (