Sha256: 3e3f0cad8e566d261d8cd89b45678ddd089570e110e731d1aba34315cd5fffc3

Contents?: true

Size: 185 Bytes

Versions: 3

Compression:

Stored size: 185 Bytes

Contents

module Heroicons::IconsHelper
  def heroicon_tag(name, variant: :solid, size: 24, **options)
    raw Heroicons::Icon.new(name, variant: variant, size: size, **options).render
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
heroicons-rails-1.2.0 app/helpers/heroicons/icons_helper.rb
heroicons-rails-1.1.1 app/helpers/heroicons/icons_helper.rb
heroicons-rails-1.0.0 app/helpers/heroicons/icons_helper.rb