import React from 'react'; interface Props { attachmentUrls?: string[]; } const CommentAttachments = ({ attachmentUrls = [] }: Props) => ( attachmentUrls.length > 0 &&
{ attachmentUrls.map((url, index) => ( )) }
); export default CommentAttachments;