Sha256: 14afee6e53262f9affba32291d90c8296151cfdff4435a157f21c0449bea64cb

Contents?: true

Size: 328 Bytes

Versions: 41

Compression:

Stored size: 328 Bytes

Contents

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

        def call
          coco_button(**options) 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/button_component.rb
coveragebook_components-0.9.1 app/components/coco/app/fields/button_component.rb
coveragebook_components-0.9.0 app/components/coco/app/fields/button_component.rb
coveragebook_components-0.8.9 app/components/coco/app/fields/button_component.rb
coveragebook_components-0.8.8 app/components/coco/app/fields/button_component.rb
coveragebook_components-0.8.7 app/components/coco/app/fields/button_component.rb
coveragebook_components-0.8.6 app/components/coco/app/fields/button_component.rb
coveragebook_components-0.8.5 app/components/coco/app/fields/button_component.rb
coveragebook_components-0.8.4 app/components/coco/app/fields/button_component.rb
coveragebook_components-0.8.3 app/components/coco/app/fields/button_component.rb
coveragebook_components-0.8.2 app/components/coco/app/fields/button_component.rb
coveragebook_components-0.8.1 app/components/coco/app/fields/button_component.rb
coveragebook_components-0.8.0 app/components/coco/app/fields/button_component.rb
coveragebook_components-0.8.0.beta.3 app/components/coco/app/fields/button_component.rb
coveragebook_components-0.8.0.beta.2 app/components/coco/app/fields/button_component.rb
coveragebook_components-0.8.0.beta.1 app/components/coco/app/fields/button_component.rb
coveragebook_components-0.7.10 app/components/coco/app/fields/button_component.rb
coveragebook_components-0.7.9 app/components/coco/app/fields/button_component.rb
coveragebook_components-0.7.8 app/components/coco/app/fields/button_component.rb
coveragebook_components-0.7.7 app/components/coco/app/fields/button_component.rb