score:0

Accepted answer
{data.map((val, index) => (
  <tr key={val.student_name}>
    <td style={{ outline: 'none' }} data-heading="Photo">
      <h1>{val.photo}</h1>
    </td>
    <td style={{ outline: 'none' }} data-heading="Student ID">{val.student_id}</td>
      <td data-heading="Student Name">{val.student_name} </td>
      <td data-heading="Student Email">
        <span style={{ fontSize: '11.5px' }}>{val.email}</span>
      </td>
    </tr>
  )
)}

Related Query

More Query from same tag