Sha256: a32227a1df7454f21aa5da20f69793c66ab911c6e485fb23a13e75349837ff2c

Contents?: true

Size: 292 Bytes

Versions: 5

Compression:

Stored size: 292 Bytes

Contents

# frozen_string_literal: true

class SolidusAdmin::UI::Forms::SwitchField::Component < SolidusAdmin::BaseComponent
  def initialize(label:, error:, hint: nil, tip: nil, **attributes)
    @label = label
    @error = error
    @hint = hint
    @tip = tip
    @attributes = attributes
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
solidus_admin-0.3.2 app/components/solidus_admin/ui/forms/switch_field/component.rb
solidus_admin-0.3.1 app/components/solidus_admin/ui/forms/switch_field/component.rb
solidus_admin-0.3.0 app/components/solidus_admin/ui/forms/switch_field/component.rb
solidus_admin-0.2.0 app/components/solidus_admin/ui/forms/switch_field/component.rb
solidus_admin-0.1.0 app/components/solidus_admin/ui/forms/switch_field/component.rb