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.4.0 app/components/avo/index/field_wrapper_component.rb
avo-1.4.0.pre.1 app/components/avo/index/field_wrapper_component.rb
avo-1.3.5 app/components/avo/index/field_wrapper_component.rb
avo-1.3.5.pre.1 app/components/avo/index/field_wrapper_component.rb
avo-1.3.4 app/components/avo/index/field_wrapper_component.rb
avo-1.3.3 app/components/avo/index/field_wrapper_component.rb
avo-1.3.2 app/components/avo/index/field_wrapper_component.rb
avo-1.3.1 app/components/avo/index/field_wrapper_component.rb
avo-1.3.0 app/components/avo/index/field_wrapper_component.rb
avo-1.2.11.pre.4 app/components/avo/index/field_wrapper_component.rb
avo-1.2.11.pre.3 app/components/avo/index/field_wrapper_component.rb
avo-1.2.11.pre.2 app/components/avo/index/field_wrapper_component.rb
avo-1.2.11.pre.1 app/components/avo/index/field_wrapper_component.rb
avo-1.2.10 app/components/avo/index/field_wrapper_component.rb
avo-1.2.9 app/components/avo/index/field_wrapper_component.rb
avo-1.2.8 app/components/avo/index/field_wrapper_component.rb
avo-1.2.7 app/components/avo/index/field_wrapper_component.rb
avo-1.2.6 app/components/avo/index/field_wrapper_component.rb
avo-1.2.6.pre.1 app/components/avo/index/field_wrapper_component.rb
avo-1.2.5 app/components/avo/index/field_wrapper_component.rb