Sha256: 9c171ebdbbe48527de4124d598a1a74f504a91c2923fe504129c06f01347548d

Contents?: true

Size: 372 Bytes

Versions: 13

Compression:

Stored size: 372 Bytes

Contents

# frozen_string_literal: true

module Kpop
  module Modal
    class HeaderComponent < ViewComponent::Base
      include Katalyst::HtmlAttributes

      def call
        tag.div(content, **html_attributes)
      end

      def inspect
        "#<#{self.class.name}>"
      end

      def default_html_attributes
        { class: "kpop-header" }
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
katalyst-kpop-3.2.6 app/components/kpop/modal/header_component.rb
katalyst-kpop-3.2.5 app/components/kpop/modal/header_component.rb
katalyst-kpop-3.2.4 app/components/kpop/modal/header_component.rb
katalyst-kpop-3.2.3 app/components/kpop/modal/header_component.rb
katalyst-kpop-3.2.2 app/components/kpop/modal/header_component.rb
katalyst-kpop-3.2.1 app/components/kpop/modal/header_component.rb
katalyst-kpop-3.2.0 app/components/kpop/modal/header_component.rb
katalyst-kpop-3.1.3 app/components/kpop/modal/header_component.rb
katalyst-kpop-3.1.2 app/components/kpop/modal/header_component.rb
katalyst-kpop-3.1.1 app/components/kpop/modal/header_component.rb
katalyst-kpop-3.1.0 app/components/kpop/modal/header_component.rb
katalyst-kpop-3.0.2 app/components/kpop/modal/header_component.rb
katalyst-kpop-3.0.1 app/components/kpop/modal/header_component.rb