Sha256: c29ae606feb8970087a1825545930f763a82a1c4632d548c23fcb11e4174f691
Contents?: true
Size: 414 Bytes
Versions: 54
Compression:
Stored size: 414 Bytes
Contents
# frozen_string_literal: true module Blacklight module Response class SortComponent < ViewComponent::Base def initialize(param: 'sort', choices: {}, search_state:, id: 'sort-dropdown', classes: [], selected: nil) @param = param @choices = choices @search_state = search_state @id = id @classes = classes @selected = selected end end end end
Version data entries
54 entries across 54 versions & 2 rubygems