JSFiddle - React, Tailwind, and code Playground
HTML
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
<div class="dropdown dropdown-select">
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-expanded="true">
Dropdown
<span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
<li role="presentation"><a role="menuitem" tabindex="-1" href="#">PDA</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="#">PPF</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="#">PPP</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="#"></a></li>
</ul>
</div>
CSS
.dropdown-menu:after{
position: absolute;
width: 10px;
height: 10px;
border-top: 1px solid grey;
border-right: 0px solid grey;
border-bottom: 0px solid grey;
border-left: 1px solid grey;
top:16%;
right: 10%;
margin-left: -25px;
content: '';
transform: rotate(45deg);
margin-top: -25px;
background: #fff;
}
.dropdown-menu {
margin-top: 10px;
width: 10%;
}
JavaScript
$('.dropdown-select').on( 'click', '.dropdown-menu li a', function() {
var target = $(this).html();
//Adds active class to selected item
$(this).parents('.dropdown-menu').find('li').removeClass('active');
$(this).parent('li').addClass('active');
//Displays selected text on dropdown-toggle button
$(this).parents('.dropdown-select').find('.dropdown-toggle').html(target + ' <span class="caret"></span>');
});