Sha256: 090f7da9f5de411b298924e24f623531d2b69b33e6ebc628959660b7d7c0e078

Contents?: true

Size: 230 Bytes

Versions: 5

Compression:

Stored size: 230 Bytes

Contents

module Lookbook
  class TabPanels::Panel::Component < Lookbook::BaseComponent
    def initialize(name:, id: nil, **html_attrs)
      @name = name 
      @id = "#{id || "panel-#{name}"}"
      super(**html_attrs)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
lookbook-1.0.0.beta.7 app/components/lookbook/tab_panels/panel/component.rb
lookbook-1.0.0.beta.6 app/components/lookbook/tab_panels/panel/component.rb
lookbook-1.0.0.beta.5 app/components/lookbook/tab_panels/panel/component.rb
lookbook-1.0.0.beta.4 app/components/lookbook/tab_panels/panel/component.rb
lookbook-1.0.0.beta.3 app/components/lookbook/tab_panels/panel/component.rb