| {cell} | ))}
|---|
| {cell} | ))}
{t`First ${shownRows} rows`}
) : null}
{mimeType === "application/json" ? prettyJson(text) : text}
);
}
function prettyJson(text: string): string {
try {
return JSON.stringify(JSON.parse(text), null, 2);
} catch {
return text;
}
}