JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://code.jquery.com/jquery-3.4.1.slim.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.css">
<div class="card m-3"> <!--- m-3 makes a nice margin --->
<div class="card-header">
<span data-toggle="collapse" href="#targetidentifier">
<button
class="btn btn-block btn-primary text-left p-3"
type="button"
data-toggle="button"
autocomplete="off"
>
Click to Expand
</button>
</span>
</div>
<div id="targetidentifier" class="card-body collapse">
Now you see me!
Now you don't!
</div>
</div>