Sha256: 577753d5e0c321a434cb56e86075dad6c007460e901fc1c3e69bd149a943af43

Contents?: true

Size: 170 Bytes

Versions: 25

Compression:

Stored size: 170 Bytes

Contents

# frozen_string_literal: true

class Avo::CardComponent < ViewComponent::Base
  def initialize(card: nil)
    @card = card
  end

  def render?
    !@card.nil?
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
avo-2.5.2.pre.7 app/components/avo/card_component.rb
avo-2.5.2.pre.6 app/components/avo/card_component.rb
avo-2.5.2.pre.5 app/components/avo/card_component.rb
avo-2.5.2.pre.4 app/components/avo/card_component.rb
avo-2.5.2.pre.3 app/components/avo/card_component.rb
avo-2.5.2.pre.2 app/components/avo/card_component.rb
avo-2.5.1 app/components/avo/card_component.rb
avo-2.5.0 app/components/avo/card_component.rb
avo-2.4.1 app/components/avo/card_component.rb
avo-2.4.0 app/components/avo/card_component.rb
avo-2.3.1.pre.6 app/components/avo/card_component.rb
avo-2.3.1.pre.5 app/components/avo/card_component.rb
avo-2.3.1.pre.4 app/components/avo/card_component.rb
avo-2.3.1.pre.3 app/components/avo/card_component.rb
avo-2.3.1.pre.2 app/components/avo/card_component.rb
avo-2.3.1.pre.1 app/components/avo/card_component.rb
avo-2.3.0 app/components/avo/card_component.rb
avo-2.2.2 app/components/avo/card_component.rb
avo-2.2.1 app/components/avo/card_component.rb
avo-2.2.0 app/components/avo/card_component.rb