import React, { useState } from 'react'; import ReactMarkdown from 'react-markdown'; import { ChevronDown, ChevronUp } from 'lucide-react'; type TranscriptToggleProps = { content: string; }; const TranscriptToggle = ({ content }: TranscriptToggleProps) => { const [isExpanded, setIsExpanded] = useState(false); const toggleTranscript = () => { setIsExpanded(!isExpanded); }; return (
{isExpanded && (
(

), ul: ({ node, ...props }) => (

    ), ol: ({ node, ...props }) => (
      ), li: ({ node, ...props }) => (
    1. ), }} > {content}
)}
); }; export default TranscriptToggle;