Sha256: e9c7f326d3a6a6dcbc0a5948bbfa3eb0861b7f5924d35dec335c25fc6bddea31
Contents?: true
Size: 414 Bytes
Versions: 41
Compression:
Stored size: 414 Bytes
Contents
# frozen_string_literal: true module Blacklight class ConstraintLayoutComponent < Blacklight::Component def initialize(value:, label: nil, remove_path: nil, classes: nil, search_state: nil) @value = value @label = label @remove_path = remove_path @classes = Array(classes).join(' ') @search_state = search_state end def render? @value.present? end end end
Version data entries
41 entries across 40 versions & 2 rubygems