Sha256: ff84ba940a773c398d109e8635b6e9008d587a904e39db3c3d1b6ba82f3376dd

Contents?: true

Size: 322 Bytes

Versions: 9

Compression:

Stored size: 322 Bytes

Contents

# frozen_string_literal: true

class Avo::Common::SingleFileViewerComponent < ViewComponent::Base
  include Avo::ApplicationHelper

  def initialize(id:, file:, is_image:, button_size: :md, resource:)
    @id = id
    @file = file
    @is_image = is_image
    @button_size = button_size
    @resource = resource
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
avo-0.5.0.beta9 app/components/avo/common/single_file_viewer_component.rb
avo-0.5.0.beta8 app/components/avo/common/single_file_viewer_component.rb
avo-0.5.0.beta7 app/components/avo/common/single_file_viewer_component.rb
avo-0.5.0.beta6 app/components/avo/common/single_file_viewer_component.rb
avo-0.5.0.beta5 app/components/avo/common/single_file_viewer_component.rb
avo-0.5.0.beta4 app/components/avo/common/single_file_viewer_component.rb
avo-0.5.0.beta3 app/components/avo/common/single_file_viewer_component.rb
avo-0.5.0.beta2 app/components/avo/common/single_file_viewer_component.rb
avo-0.5.0.beta1 app/components/avo/common/single_file_viewer_component.rb