It would be good to be able to call the icon function with an array of extra classes to add to either the SVG itself, or the wrapper element.

Comments

malcomio created an issue. See original summary.

malcomio’s picture

Status: Active » Needs review
StatusFileSize
new951 bytes
malcomio’s picture

StatusFileSize
new1.56 KB

Updated patch including README details.

  • malcomio committed edccd67 on 8.x-1.x
    Issue #3016862 by malcomio: Provide option to add classes to an SVG
    
malcomio’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.