import * as React from 'react'; interface TrialLogProps { logStr: string; logName: string; } const TrialLog = (props: TrialLogProps): any => { const { logStr, logName } = props; const isHyperlink = logStr.toLowerCase().startsWith('http'); return (
{logName} {isHyperlink ? ( {logStr} ) : ( {logStr} )}
); }; export default TrialLog;