JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/toastr.js/2.0.2/css/toastr.css">
<script src="http://cdnjs.cloudflare.com/ajax/libs/toastr.js/2.0.2/js/toastr.js"></script>
<button type="button" id="button1">Toastr 1</button>
<button type="button" id="button2">Toastr 2</button>

JavaScript

$('#button1').on('click', function(){
toastr.clear();
toastr.options = {positionClass: "toast-bottom-right"}
toastr.error('meh meh meh');
});

$('#button2').on('click', function(){
toastr.clear();
toastr.options = {positionClass: "toast-bottom-full-width"}
toastr.success("Are you the six fingered man?")
});