Sha256: a193e047f08c499532f92761e3f9395d6d3979c31dc2eacc437a0cf88f4cda4b

Contents?: true

Size: 379 Bytes

Versions: 30

Compression:

Stored size: 379 Bytes

Contents

# frozen_string_literal: true

module Blacklight
  class ConstraintComponent < ::ViewComponent::Base
    with_collection_parameter :facet_item_presenter

    def initialize(facet_item_presenter:, classes: 'filter', layout: Blacklight::ConstraintLayoutComponent)
      @facet_item_presenter = facet_item_presenter
      @classes = classes
      @layout = layout
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
blacklight-7.24.0 app/components/blacklight/constraint_component.rb
blacklight-7.23.0.1 app/components/blacklight/constraint_component.rb
blacklight-7.23.0 app/components/blacklight/constraint_component.rb
blacklight-7.22.2 app/components/blacklight/constraint_component.rb
blacklight-7.22.1 app/components/blacklight/constraint_component.rb
blacklight-7.22.0 app/components/blacklight/constraint_component.rb
blacklight-7.21.2 app/components/blacklight/constraint_component.rb
blacklight-7.21.1 app/components/blacklight/constraint_component.rb
blacklight-7.21.0 app/components/blacklight/constraint_component.rb
blacklight-7.20.1 app/components/blacklight/constraint_component.rb
blacklight-7.20.0 app/components/blacklight/constraint_component.rb
blacklight-7.19.2 app/components/blacklight/constraint_component.rb
blacklight-7.19.1 app/components/blacklight/constraint_component.rb
blacklight-7.19.0 app/components/blacklight/constraint_component.rb
blacklight-7.18.1 app/components/blacklight/constraint_component.rb
blacklight-7.18.0 app/components/blacklight/constraint_component.rb
blacklight-7.17.2 app/components/blacklight/constraint_component.rb
blacklight-7.17.1 app/components/blacklight/constraint_component.rb
blacklight-7.17.0 app/components/blacklight/constraint_component.rb
blacklight-7.16.0 app/components/blacklight/constraint_component.rb