vrimar/construct-ui

Ability to insert arbitrary left/right content on Button

abidingotter opened this issue · 1 comments

I like the simplicity of the iconLeft and iconRight, however I'm limited to the icon set of Feather Icons. I would like to insert a Font Awesome icon in the left or right, possibly by passing in a value for contentLeft or contentRight on the button.

I'm planning on supporting custom icons (and maybe content) in one of the upcoming releases. You could technically pass a custom icon like in this example via the label attr.

This isn't ideal though, you'll have to handle the CSS styles/spacing yourself.