Sha256: 931b763589408965811c961fa35e569d140c98cb758b8006dff661bf5d4d9516

Contents?: true

Size: 311 Bytes

Versions: 41

Compression:

Stored size: 311 Bytes

Contents

module Coco
  module App
    module Fields
      class SubmitComponent < ViewComponent::Form::SubmitComponent
        include Concerns::ActsAsFieldWithOptions

        def call
          coco_button(**options, type: :submit) do
            content || value
          end
        end
      end
    end
  end
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
coveragebook_components-0.10.0 app/components/coco/app/fields/submit_component.rb
coveragebook_components-0.9.1 app/components/coco/app/fields/submit_component.rb
coveragebook_components-0.9.0 app/components/coco/app/fields/submit_component.rb
coveragebook_components-0.8.9 app/components/coco/app/fields/submit_component.rb
coveragebook_components-0.8.8 app/components/coco/app/fields/submit_component.rb
coveragebook_components-0.8.7 app/components/coco/app/fields/submit_component.rb
coveragebook_components-0.8.6 app/components/coco/app/fields/submit_component.rb
coveragebook_components-0.8.5 app/components/coco/app/fields/submit_component.rb
coveragebook_components-0.8.4 app/components/coco/app/fields/submit_component.rb
coveragebook_components-0.8.3 app/components/coco/app/fields/submit_component.rb
coveragebook_components-0.8.2 app/components/coco/app/fields/submit_component.rb
coveragebook_components-0.8.1 app/components/coco/app/fields/submit_component.rb
coveragebook_components-0.8.0 app/components/coco/app/fields/submit_component.rb
coveragebook_components-0.8.0.beta.3 app/components/coco/app/fields/submit_component.rb
coveragebook_components-0.8.0.beta.2 app/components/coco/app/fields/submit_component.rb
coveragebook_components-0.8.0.beta.1 app/components/coco/app/fields/submit_component.rb
coveragebook_components-0.7.10 app/components/coco/app/fields/submit_component.rb
coveragebook_components-0.7.9 app/components/coco/app/fields/submit_component.rb
coveragebook_components-0.7.8 app/components/coco/app/fields/submit_component.rb
coveragebook_components-0.7.7 app/components/coco/app/fields/submit_component.rb