Sha256: 8c45bae9284426674aad67e017f163e6af5788c11728f2807b55c59b2acdada0

Contents?: true

Size: 415 Bytes

Versions: 13

Compression:

Stored size: 415 Bytes

Contents

# frozen_string_literal: true

module Satis
  module LinkButton
    class Component < Satis::ApplicationComponent
      attr_reader :title, :url, :icon, :type, :class_names
      # renders_many :items
      def initialize(type, title: nil, icon: nil, url: nil)
        @type = type.to_sym
        @title = title
        @icon = icon
        @url = url
        @class_names = class_names
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
satis-2.1.53 app/components/satis/link_button/component.rb
satis-2.1.52 app/components/satis/link_button/component.rb
satis-2.1.51 app/components/satis/link_button/component.rb
satis-2.1.50 app/components/satis/link_button/component.rb
satis-2.1.49 app/components/satis/link_button/component.rb
satis-2.1.48 app/components/satis/link_button/component.rb
satis-2.1.47 app/components/satis/link_button/component.rb
satis-2.1.46 app/components/satis/link_button/component.rb
satis-2.1.45 app/components/satis/link_button/component.rb
satis-2.1.44 app/components/satis/link_button/component.rb
satis-2.1.43 app/components/satis/link_button/component.rb
satis-2.1.42 app/components/satis/link_button/component.rb
satis-2.1.41 app/components/satis/link_button/component.rb