/** * @flow * @file Read only transcript row component * @author Box */ import * as React from 'react'; import PlainButton from '../../../../components/plain-button/PlainButton'; type Props = { interactionTarget: string, onClick: Function, text?: string, time?: string, }; const ReadOnlyTranscriptRow = ({ time, text = '', onClick, interactionTarget }: Props) => ( {time &&
{time}
}
{text}
); export default ReadOnlyTranscriptRow;