Sha256: b04093037dff9723a767b7b91000217d70d0f49c926c1609e0f82edd750cf203

Contents?: true

Size: 289 Bytes

Versions: 137

Compression:

Stored size: 289 Bytes

Contents

# frozen_string_literal: true

class Avo::Index::FieldWrapperComponent < ViewComponent::Base
  def initialize(field: nil, dash_if_blank: true, **args)
    @field = field
    @dash_if_blank = dash_if_blank
    @classes = args[:class].present? ? args[:class] : ""
    @args = args
  end
end

Version data entries

137 entries across 137 versions & 1 rubygems

Version Path
avo-1.25.2 app/components/avo/index/field_wrapper_component.rb
avo-1.25.1 app/components/avo/index/field_wrapper_component.rb
avo-1.25.0 app/components/avo/index/field_wrapper_component.rb
avo-1.24.2 app/components/avo/index/field_wrapper_component.rb
avo-1.24.1 app/components/avo/index/field_wrapper_component.rb
avo-1.24.0 app/components/avo/index/field_wrapper_component.rb
avo-1.23.0 app/components/avo/index/field_wrapper_component.rb
avo-1.22.4 app/components/avo/index/field_wrapper_component.rb
avo-1.22.3 app/components/avo/index/field_wrapper_component.rb
avo-1.22.2 app/components/avo/index/field_wrapper_component.rb
avo-1.22.1 app/components/avo/index/field_wrapper_component.rb
avo-1.22.1.pre.2 app/components/avo/index/field_wrapper_component.rb
avo-1.22.1.pre.1 app/components/avo/index/field_wrapper_component.rb
avo-1.22.0 app/components/avo/index/field_wrapper_component.rb
avo-1.21.1.pre.1 app/components/avo/index/field_wrapper_component.rb
avo-1.21.0 app/components/avo/index/field_wrapper_component.rb
avo-1.20.2.pre.2 app/components/avo/index/field_wrapper_component.rb
avo-1.20.2.pre.1 app/components/avo/index/field_wrapper_component.rb
avo-1.21.0.pre.1 app/components/avo/index/field_wrapper_component.rb
avo-1.20.1 app/components/avo/index/field_wrapper_component.rb