Sha256: ea4858d0d012940d8e914599bf2afbe167ff4c8e6d84d493216cd53bdecc47f0

Contents?: true

Size: 258 Bytes

Versions: 37

Compression:

Stored size: 258 Bytes

Contents

# frozen_string_literal: true

include Turbo::FramesHelper, Turbo::Streams::StreamName, Turbo::Streams::Broadcasts

class AttachmentCardComponent < ViewComponent::Base
  def initialize(attachment:, url:)
    @attachment = attachment
    @url = url
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
tybo-0.3.7 app/components/attachment_card_component.rb
tybo-0.3.6 app/components/attachment_card_component.rb
tybo-0.3.4 app/components/attachment_card_component.rb
tybo-0.3.3 app/components/attachment_card_component.rb
tybo-0.3.1 app/components/attachment_card_component.rb
tybo-0.2.6 app/components/attachment_card_component.rb
tybo-0.2.5 app/components/attachment_card_component.rb
tybo-0.2.4 app/components/attachment_card_component.rb
tybo-0.2.3 app/components/attachment_card_component.rb
tybo-0.2.2 app/components/attachment_card_component.rb
tybo-0.2.0 app/components/attachment_card_component.rb
tybo-0.1.2 app/components/attachment_card_component.rb
tybo-0.1.0 app/components/attachment_card_component.rb
tybo-0.0.40 app/components/attachment_card_component.rb
tybo-0.0.39 app/components/attachment_card_component.rb
tybo-0.0.38 app/components/attachment_card_component.rb
tybo-0.0.37 app/components/attachment_card_component.rb