import React from "react"; type LogAreaProps = { copyOnClickHandler: () => void; isCopied: boolean; logData: string[]; }; export function LogArea({ copyOnClickHandler, isCopied, logData }) { return (

LOGS

{logData.length === 0 && (

No logs to show

)} {logData.map((logLine: any) => { console.log(logData); return

{logLine}

; })}
); }