Open smmr0 opened 6 years ago
With this change, you will be able to pass in the class attribute either as a string:
class
icon('fas', 'flag', class: 'strong underline')
…or as an array:
icon('fas', 'flag', class: ['strong', 'underline'])
This is compatible down to Rails 3.0, when support for arrays as attribute values was introduced
With this change, you will be able to pass in the
class
attribute either as a string:…or as an array:
This is compatible down to Rails 3.0, when support for arrays as attribute values was introduced