JSFiddle - React, Tailwind, and code Playground

by garnwraly

HTML

<script src="https://rawgithub.com/HubSpot/tether/master/tether.min.js"></script>
<script src="https://rawgithub.com/HubSpot/drop/master/drop.min.js"></script>
<link rel="stylesheet" href="https://rawgithub.com/HubSpot/select/master/css/select-theme-dark.css">
<script src="https://rawgithub.com/HubSpot/select/master/select.min.js"></script>
<select class="custom-select">
  <option value="" selected="selected">Select a state...</option>
  <option value=>Alabama</option>
</select>

JavaScript

Select.init({
  selector: '.custom-select'
});