link to or link for code example
Example: Link to
<tbody>
{
this.state.categories.map( map_category=>{
return (
<tr>
<th scope = "row">1</th>
<td>{map_category.name}</td>
<td>{map_category.active==1?("Active") : ("Inactive") }</td>
<td>{map_category.created_at}</td>
<td>{map_category.updated_at}</td>
<td><Link to={`/category/edit/${map_category.id}`}>Delete</Link></td>
<td><a href = "#" onClick = {this.onDelete.bind(this,map_category.id)}>Delete</a></td>
</tr>
)
})
}
</tbody>