Sha256: 84b9162da3f176ba8c96f941b053bfb376e60e2f96b0b22af8018df362baaec3

Contents?: true

Size: 336 Bytes

Versions: 31

Compression:

Stored size: 336 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
avo-2.7.1.pre.1 app/components/avo/show/field_wrapper_component.rb
avo-2.7.0 app/components/avo/show/field_wrapper_component.rb
avo-2.6.1.pre.2 app/components/avo/show/field_wrapper_component.rb
avo-2.6.1.pre.1 app/components/avo/show/field_wrapper_component.rb
avo-2.6.0 app/components/avo/show/field_wrapper_component.rb
avo-2.5.2.pre.7 app/components/avo/show/field_wrapper_component.rb
avo-2.5.2.pre.6 app/components/avo/show/field_wrapper_component.rb
avo-2.5.2.pre.5 app/components/avo/show/field_wrapper_component.rb
avo-2.5.2.pre.4 app/components/avo/show/field_wrapper_component.rb
avo-2.5.2.pre.3 app/components/avo/show/field_wrapper_component.rb
avo-2.5.2.pre.2 app/components/avo/show/field_wrapper_component.rb
avo-2.5.2.pre.1 app/components/avo/show/field_wrapper_component.rb
avo-2.5.1 app/components/avo/show/field_wrapper_component.rb
avo-2.5.0 app/components/avo/show/field_wrapper_component.rb
avo-2.4.1 app/components/avo/show/field_wrapper_component.rb
avo-2.4.0 app/components/avo/show/field_wrapper_component.rb
avo-2.3.1.pre.6 app/components/avo/show/field_wrapper_component.rb
avo-2.3.1.pre.5 app/components/avo/show/field_wrapper_component.rb
avo-2.3.1.pre.4 app/components/avo/show/field_wrapper_component.rb
avo-2.3.1.pre.3 app/components/avo/show/field_wrapper_component.rb