Sha256: 055e72bafaa1b26075be7bc826028fb76cbf85f5ec5eb4268518dd257f9ec09a

Contents?: true

Size: 294 Bytes

Versions: 20

Compression:

Stored size: 294 Bytes

Contents

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

      def call
        coco_button(**options) do
          content || value
        end
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
coveragebook_components-0.19.8 app/components/coco/fields/button_component.rb
coveragebook_components-0.19.7 app/components/coco/fields/button_component.rb
coveragebook_components-0.19.6 app/components/coco/fields/button_component.rb
coveragebook_components-0.19.5 app/components/coco/fields/button_component.rb
coveragebook_components-0.19.4 app/components/coco/fields/button_component.rb
coveragebook_components-0.19.3 app/components/coco/fields/button_component.rb
coveragebook_components-0.19.2 app/components/coco/fields/button_component.rb
coveragebook_components-0.19.1 app/components/coco/fields/button_component.rb
coveragebook_components-0.19.0 app/components/coco/fields/button_component.rb
coveragebook_components-0.18.8 app/components/coco/fields/button_component.rb
coveragebook_components-0.18.7 app/components/coco/fields/button_component.rb
coveragebook_components-0.18.0 app/components/coco/fields/button_component.rb
coveragebook_components-0.17.7 app/components/coco/fields/button_component.rb
coveragebook_components-0.17.6 app/components/coco/fields/button_component.rb
coveragebook_components-0.17.5 app/components/coco/fields/button_component.rb
coveragebook_components-0.17.4 app/components/coco/fields/button_component.rb
coveragebook_components-0.17.3 app/components/coco/fields/button_component.rb
coveragebook_components-0.17.2 app/components/coco/fields/button_component.rb
coveragebook_components-0.17.1 app/components/coco/fields/button_component.rb
coveragebook_components-0.17.0 app/components/coco/fields/button_component.rb