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