import React from "react"; type LogAreaProps = { copyOnClickHandler: () => void; isCopied: boolean; logData: string[]; }; export function LogArea({ copyOnClickHandler, isCopied, logData, }: LogAreaProps) { return (
LOGS
{logData.length === 0 && (
No logs to show
)}
{logData.map((logLine: any) => {
return {logLine}
;
})}