JSFiddle - React, Tailwind, and code Playground
by wrxsti85
HTML
<div class="line-item">
<div class="thumb">
Image goes here
</div>
<div class="title">
Title goes here
</div>
<div class="destroy">
Destroy Button goes here
</div>
</div>
JavaScript
$('div.line-item').on('click', '.destroy', function() {
alert('hi');
});