Sha256: eccc5a71f4df4b0f0999b18039ab2a958f0626097a67e3670d53c9cc9d47bc90

Contents?: true

Size: 512 Bytes

Versions: 3

Compression:

Stored size: 512 Bytes

Contents

module Coco
  module App
    class PlanConfirmation < Coco::Component
      include Concerns::AcceptsOptions

      renders_one :new_plan
      renders_one :old_plan

      renders_one :primary_action, ->(*args, **kwargs, &block) do
        coco_button(*args, theme: :primary, size: :md, **kwargs, fit: :full, &block)
      end

      renders_one :secondary_action, ->(*args, **kwargs, &block) do
        coco_button(*args, theme: :secondary, size: :md, **kwargs, fit: :full, &block)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
coveragebook_components-0.16.0 app/components/coco/app/plan_confirmation/plan_confirmation.rb
coveragebook_components-0.15.0 app/components/coco/app/plan_confirmation/plan_confirmation.rb
coveragebook_components-0.14.0 app/components/coco/app/plan_confirmation/plan_confirmation.rb