import React,{ Component } from "react"; import { ConditionToolTip } from 'educoder' class AttachmentsList extends Component{ constructor(props){ super(props); } render(){ let { attachments } = this.props; return( { attachments.map((item,key)=>{ return(

{ item.is_pdf && item.is_pdf == true ? 30 }> {item.title} : 30 }> {item.title} } {item.filesize}

) }) }
) } } export default AttachmentsList;