Sha256: 511c305d7a3aa2281550a07649460b2d931ffc4ea735d88e9eb6c066c72b405f

Contents?: true

Size: 210 Bytes

Versions: 2

Compression:

Stored size: 210 Bytes

Contents

module Lookbook
  class TabPanels::Panel::Component < Lookbook::Component
    def initialize(name:, id: nil, **html_attrs)
      @name = name 
      @id = id || name
      super(**html_attrs)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lookbook-1.0.0.beta.2 app/components/lookbook/tab_panels/panel/component.rb
lookbook-1.0.0.beta.1 app/components/lookbook/tab_panels/panel/component.rb