import type { NowPlayingSession } from "../types";
import { SessionActivityPanel } from "./SessionActivityPanel";

interface Props {
	sessions: NowPlayingSession[];
	onSelectSession?: (session: NowPlayingSession) => void;
}

export function NowPlaying({ sessions, onSelectSession }: Props) {
	return (
		<SessionActivityPanel
			sessions={sessions}
			onSelectSession={onSelectSession}
			emptyMessage="No recent user activity sessions right now."
		/>
	);
}
