allows for passing text="notext" in order to hide the text, allowing for just the icon.