JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://getbootstrap.com/dist/css/bootstrap.min.css">
<script src="http://getbootstrap.com/dist/js/bootstrap.min.js"></script>
 <div class="row">
        <div class="col-lg-12">
            <table class="table table-bordered">
                <thead style="background-color: moccasin;">
                    <tr>
                        <th>No</th>
                        <th>First Name</th>
                        <th>Last Name</th>
                        <th>Username</th>
                        <th>Department</th>
                        <th>Email</th>
                        <th>Phone Number</th>
                        <th>Action</th>
                    </tr>
                </thead>
                <tbody>
                                                                <tr><th scope="row">1</th><td>Sulaiman</td><td>Fahmi</td><td>root</td><td>root</td><td>[email protected]</td><td>1234567890</td><td><div class="pull-right">
                                <div class="btn-group action" id="1">
                                    <button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown">
                                        Actions
                                        <span class="caret"></span>
                                    </button>
                                    <ul class="dropdown-menu pull-right" role="menu">
                                        <li><input type="submit" class="action" value="Edit" id="edit1" onclick="edit(1)">
                                        </li>
                                        <li class="divider"></li>
                                        <li><input type="submit" class="action" value="Delete" id="delete1" onclick="delet(1)">
                                        </li> 
                                    </ul>
                                </div>
                            </div></td></tr>                                       ...