JSFiddle - React, Tailwind, and code Playground
by baacke
HTML
<div id="toReplace">
<input type="button" value="Show all" id="showAll" />
</div>
JavaScript
$(window).ready( function() {
$("#showAll").click(function () {
$("#next40").slideDown(500);
$(this).parent().html("More");
});
$("#hide").click(function () {
$("#next40").slideUp(500, function () {
$("#showAll").show();
});
});
});