Check out example codes for "alighn right boostrap 4". It will help you in understanding the concepts better.
Code Example 1
<div class="float-left">Float left on all viewport sizes</div><br>
<div class="float-right">Float right on all viewport sizes</div><br>
<div class="float-none">Don't float on all viewport sizes</div>
Learn ReactJs, React Native from akashmittal.com