import React from 'react';
import './index.scss';

export default function Attachments({file,num} : any) {
  return (
    <div className="download-attachments d-flex justify-content-between align-items-center">
      <div className="d-flex">
        <span>{num}</span>
        <h4>{file.name}</h4>
      </div>
      <a href={file.file} download>دریافت</a>
    </div>
  )
}
