JSFiddle - React, Tailwind, and code Playground
HTML
<a href="javascript:void(0);" id="viewdetail" style="color:green">view detail</a>
<div class="speakers dis-non" style="display: none">
test data to be shown
</div>
JavaScript
$('#viewdetail').on('click', function(){
$(this).next('div.speakers').show();
$(this).hide();
});