Sha256: d1931a0a8277ba881c816fb2dc8943a6da7244b8b70585d9f1c43d6e9fb1ab10

Contents?: true

Size: 205 Bytes

Versions: 7

Compression:

Stored size: 205 Bytes

Contents

# frozen_string_literal: true

class Avo::AlertComponent < ViewComponent::Base
  attr_reader :type
  attr_reader :message

  def initialize(type, message)
    @type = type
    @message = message
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
avo-1.25.2 app/components/avo/alert_component.rb
avo-1.25.1 app/components/avo/alert_component.rb
avo-1.25.0 app/components/avo/alert_component.rb
avo-1.24.2 app/components/avo/alert_component.rb
avo-1.24.1 app/components/avo/alert_component.rb
avo-1.24.0 app/components/avo/alert_component.rb
avo-1.23.0 app/components/avo/alert_component.rb