Sha256: e27c5e3593a0aba730ef695254f73a5954d03ce5f07fc01e11a533f650be833a

Contents?: true

Size: 322 Bytes

Versions: 36

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:, resource:, button_size: :md)
    @id = id
    @file = file
    @is_image = is_image
    @button_size = button_size
    @resource = resource
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
avo-1.4.0.pre.1 app/components/avo/common/single_file_viewer_component.rb
avo-1.3.5 app/components/avo/common/single_file_viewer_component.rb
avo-1.3.5.pre.1 app/components/avo/common/single_file_viewer_component.rb
avo-1.3.4 app/components/avo/common/single_file_viewer_component.rb
avo-1.3.3 app/components/avo/common/single_file_viewer_component.rb
avo-1.3.2 app/components/avo/common/single_file_viewer_component.rb
avo-1.3.1 app/components/avo/common/single_file_viewer_component.rb
avo-1.3.0 app/components/avo/common/single_file_viewer_component.rb
avo-1.2.11.pre.4 app/components/avo/common/single_file_viewer_component.rb
avo-1.2.11.pre.3 app/components/avo/common/single_file_viewer_component.rb
avo-1.2.11.pre.2 app/components/avo/common/single_file_viewer_component.rb
avo-1.2.11.pre.1 app/components/avo/common/single_file_viewer_component.rb
avo-1.2.10 app/components/avo/common/single_file_viewer_component.rb
avo-1.2.9 app/components/avo/common/single_file_viewer_component.rb
avo-1.2.8 app/components/avo/common/single_file_viewer_component.rb
avo-1.2.7 app/components/avo/common/single_file_viewer_component.rb
avo-1.2.6 app/components/avo/common/single_file_viewer_component.rb
avo-1.2.6.pre.1 app/components/avo/common/single_file_viewer_component.rb
avo-1.2.5 app/components/avo/common/single_file_viewer_component.rb
avo-1.2.4 app/components/avo/common/single_file_viewer_component.rb