updated icon partial to allow specification of other icon properties