JSFiddle - React, Tailwind, and code Playground
HTML
<html>
<head>
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/bs-3.3.7/jq-3.3.1/jszip-2.5.0/dt-1.10.21/af-2.3.5/b-1.6.2/b-colvis-1.6.2/b-flash-1.6.2/b-html5-1.6.2/b-print-1.6.2/cr-1.5.2/fc-3.3.1/fh-3.1.7/kt-2.5.2/r-2.2.5/rg-1.1.2/rr-1.2.7/sc-2.0.2/sp-1.1.1/sl-1.3.1/datatables.min.css"/>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.36/pdfmake.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.36/vfs_fonts.js"></script>
<script type="text/javascript" src="https://cdn.datatables.net/v/bs-3.3.7/jq-3.3.1/jszip-2.5.0/dt-1.10.21/af-2.3.5/b-1.6.2/b-colvis-1.6.2/b-flash-1.6.2/b-html5-1.6.2/b-print-1.6.2/cr-1.5.2/fc-3.3.1/fh-3.1.7/kt-2.5.2/r-2.2.5/rg-1.1.2/rr-1.2.7/sc-2.0.2/sp-1.1.1/sl-1.3.1/datatables.min.js"></script>
</head>
<table id='fooTable' class="table table-striped table-bordered">
<thead>
<tr><th>One column</th></tr>
</thead>
<tbody>
<tr><td>Data one</td></tr>
<tr><td>Data 2</td></tr>
</tbody>
<tfoot>
<tr><td>footer</td></tr>
</tfoot>
</table>
</html>
JavaScript
$(function() {
$("#fooTable").dataTable({
dom: "<'row' <'col-md-3'l> <'col-md-9' <'pull-right'B> <'pull-right'f>>> rt <'row'<'col-md-6'i><'col-md-6'p>>",
buttons: [{
"extend": "collection",
"text": "Export",
buttons: [{
extend: 'excelHtml5',
orientation: 'landscape'
},
{
extend: 'pdfHtml5',
orientation: 'landscape'
},
{
extend: 'csv',
orientation: 'landscape'
}
],
}]
});
})