Note: when passing icons inside a button, it is required to define the icon's position, by default it is set to after, which means the icon will come after the text.

Icon position set to before

This button has text and icon

Icon position set to after

This button has text and icon