import React from "react"; import { Stack, Box, Typography, Chip, Paper } from "@mui/material"; import TalkIcon from "@mui/icons-material/Quiz"; import { PodcastAnalysis } from "../../types"; import { AnalysisTabContent } from "../AnalysisTabNav"; import { TextToSpeechButton } from "../../../shared/TextToSpeechButton"; interface GuestTabProps { analysis: PodcastAnalysis; } export const GuestTab: React.FC = ({ analysis }) => { const talkingPointsText = analysis.guest_talking_points?.map((p, idx) => `Question ${idx + 1}: ${p}`).join(" ") || ""; if (!analysis.guest_talking_points || analysis.guest_talking_points.length === 0) { return ( }> No guest talking points generated yet. Add a guest speaker to get interview questions. ); } return ( }> {analysis.guest_talking_points.map((point: string, idx: number) => ( {point} ))} ); };