Method: ViewComponent::Form::SubmitComponent#initialize

Defined in:
app/components/view_component/form/submit_component.rb

#initialize(form, value, options = {}) ⇒ SubmitComponent

Returns a new instance of SubmitComponent.



8
9
10
11
12
# File 'app/components/view_component/form/submit_component.rb', line 8

def initialize(form, value, options = {})
  @value = value

  super(form, nil, options)
end