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.7.6 app/components/coco/app/fields/button_component.rb
coveragebook_components-0.7.5 app/components/coco/app/fields/button_component.rb
coveragebook_components-0.7.4 app/components/coco/app/fields/button_component.rb
coveragebook_components-0.7.3 app/components/coco/app/fields/button_component.rb
coveragebook_components-0.7.2 app/components/coco/app/fields/button_component.rb
coveragebook_components-0.7.1 app/components/coco/app/fields/button_component.rb
coveragebook_components-0.7.0 app/components/coco/app/fields/button_component.rb
coveragebook_components-0.6.5 app/components/coco/app/fields/button_component.rb
coveragebook_components-0.6.4 app/components/coco/app/fields/button_component.rb
coveragebook_components-0.6.3 app/components/coco/app/fields/button_component.rb
coveragebook_components-0.6.2 app/components/coco/app/fields/button_component.rb
coveragebook_components-0.6.1 app/components/coco/app/fields/button_component.rb
coveragebook_components-0.6.0 app/components/coco/app/fields/button_component.rb
coveragebook_components-0.5.7 app/components/coco/app/fields/button_component.rb
coveragebook_components-0.5.6 app/components/coco/app/fields/button_component.rb
coveragebook_components-0.5.5 app/components/coco/app/fields/button_component.rb
coveragebook_components-0.5.4 app/components/coco/app/fields/button_component.rb
coveragebook_components-0.5.3 app/components/coco/app/fields/button_component.rb
coveragebook_components-0.5.2 app/components/coco/app/fields/button_component.rb
coveragebook_components-0.5.1 app/components/coco/app/fields/button_component.rb