How can i center a components button

Im importing my component from another code and it has buttons that i have to center normally if you were to put a button in that div it centers it has display flex and justify content center it centers it but it doesnt center it when i get it from the component how can center the button?

Hi,
Look at the following link. I hope it helps!