Below shows a code sample that aligns a button center.
Please note that you must wrap the button in a
tag with a class "d-flex justify-content-center". Or it will not work. I hope it will help you.