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