Sha256: 494a63508c89b8cdb45f4e75deeb238d7c4d35575984562ca7f276e39615d88f

Contents?: true

Size: 366 Bytes

Versions: 6

Compression:

Stored size: 366 Bytes

Contents

module Voom
  module Presenters
    module DSL
      module Components
        class Icon < IconBase
          include Mixins::Tooltips
          attr_accessor :text

          def initialize(**attribs_, &block)
            super(**attribs_, &block)
            @text = attribs.delete(:text)
            expand!
          end
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
voom-presenters-2.1.2 lib/voom/presenters/dsl/components/icon.rb
voom-presenters-2.1.0 lib/voom/presenters/dsl/components/icon.rb
voom-presenters-2.0.3 lib/voom/presenters/dsl/components/icon.rb
voom-presenters-2.0.2 lib/voom/presenters/dsl/components/icon.rb
voom-presenters-2.0.1 lib/voom/presenters/dsl/components/icon.rb
voom-presenters-2.0.0 lib/voom/presenters/dsl/components/icon.rb