I have always wondered what the best way to do this was: I need to create a reusable button, but this button will sometimes have an arrow on the right side, an 'x' on the right side, or nothing on the right side. There might be the possibility to have these on the left side too.
I have attempted this before, but I have never really come up with an elegant solution. Just wondering what the best/cleanest way to do this would be? Thanks!