Sha256: f2cc7a53c3c64dd5afe1a6c4d012cfb3ed48ff0b6de2841d5496e8734698129f

Contents?: true

Size: 505 Bytes

Versions: 4

Compression:

Stored size: 505 Bytes

Contents

# frozen_string_literal: true

module Olivander
  module Components
    class PortletComponent < ViewComponent::Base
      
      renders_one :header_tools

      def initialize(title, background: nil, header_background: 'bg-secondary', turbo_frame: nil, src: nil, loading: nil)
        super
        @title = title
        @background = background
        @header_background = header_background
        @turbo_frame = turbo_frame
        @src = src
        @loading = loading
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
five-two-nw-olivander-0.1.2.42 app/components/olivander/components/portlet_component.rb
five-two-nw-olivander-0.1.2.41 app/components/olivander/components/portlet_component.rb
five-two-nw-olivander-0.1.2.40 app/components/olivander/components/portlet_component.rb
five-two-nw-olivander-0.1.2.39 app/components/olivander/components/portlet_component.rb