Allow the icon to be be a DOM element or a string