Sha256: 526eb4cc7dc6617598241cc3d5e465fd7aebc873ae89684ffc154e6c4ddc938b

Contents?: true

Size: 515 Bytes

Versions: 8

Compression:

Stored size: 515 Bytes

Contents

# frozen_string_literal: true

module Satis
  module CallToAction
    class Component < Satis::ApplicationComponent
      renders_many :actions, LinkButton::Component

      attr_reader :identifier, :title, :description, :style

      def initialize(identifier = nil,
        icon: nil,
        title: nil,
        description: nil,
        style: :regular)
        super

        @identifier = identifier
        @title = title
        @description = description
        @style = style
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
satis-2.1.48 app/components/satis/call_to_action/component.rb
satis-2.1.47 app/components/satis/call_to_action/component.rb
satis-2.1.46 app/components/satis/call_to_action/component.rb
satis-2.1.45 app/components/satis/call_to_action/component.rb
satis-2.1.44 app/components/satis/call_to_action/component.rb
satis-2.1.43 app/components/satis/call_to_action/component.rb
satis-2.1.42 app/components/satis/call_to_action/component.rb
satis-2.1.41 app/components/satis/call_to_action/component.rb