Sha256: aedfb5d29ca6a3a223e68d2ffb9f825167955f53ec534f4a221dbf67ba4f195a

Contents?: true

Size: 465 Bytes

Versions: 8

Compression:

Stored size: 465 Bytes

Contents

# frozen_string_literal: true

module Olivander
  module Components
    class PortletComponent < ViewComponent::Base
      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

8 entries across 8 versions & 1 rubygems

Version Path
five-two-nw-olivander-0.1.2.38 app/components/olivander/components/portlet_component.rb
five-two-nw-olivander-0.1.2.37 app/components/olivander/components/portlet_component.rb
five-two-nw-olivander-0.1.2.36 app/components/olivander/components/portlet_component.rb
five-two-nw-olivander-0.1.2.35 app/components/olivander/components/portlet_component.rb
five-two-nw-olivander-0.1.2.34 app/components/olivander/components/portlet_component.rb
five-two-nw-olivander-0.1.2.33 app/components/olivander/components/portlet_component.rb
five-two-nw-olivander-0.1.2.32 app/components/olivander/components/portlet_component.rb
five-two-nw-olivander-0.1.2.31 app/components/olivander/components/portlet_component.rb