Sha256: 2ebb64e758568e51293575958570e2979854a83e54809fe23558e2773516d37c

Contents?: true

Size: 423 Bytes

Versions: 20

Compression:

Stored size: 423 Bytes

Contents

# frozen_string_literal: true

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

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

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
avo-1.25.2 app/components/avo/fields/common/single_file_viewer_component.rb
avo-1.25.1 app/components/avo/fields/common/single_file_viewer_component.rb
avo-1.25.0 app/components/avo/fields/common/single_file_viewer_component.rb
avo-1.24.2 app/components/avo/fields/common/single_file_viewer_component.rb
avo-1.24.1 app/components/avo/fields/common/single_file_viewer_component.rb
avo-1.24.0 app/components/avo/fields/common/single_file_viewer_component.rb
avo-1.23.0 app/components/avo/fields/common/single_file_viewer_component.rb
avo-1.22.4 app/components/avo/fields/common/single_file_viewer_component.rb
avo-1.22.3 app/components/avo/fields/common/single_file_viewer_component.rb
avo-1.22.2 app/components/avo/fields/common/single_file_viewer_component.rb
avo-1.22.1 app/components/avo/fields/common/single_file_viewer_component.rb
avo-1.22.1.pre.2 app/components/avo/fields/common/single_file_viewer_component.rb
avo-1.22.1.pre.1 app/components/avo/fields/common/single_file_viewer_component.rb
avo-1.22.0 app/components/avo/fields/common/single_file_viewer_component.rb
avo-1.22.0.pre.1 app/components/avo/fields/common/single_file_viewer_component.rb
avo-1.21.1.pre.1 app/components/avo/fields/common/single_file_viewer_component.rb
avo-1.21.0 app/components/avo/fields/common/single_file_viewer_component.rb
avo-1.20.2.pre.2 app/components/avo/fields/common/single_file_viewer_component.rb
avo-1.20.2.pre.1 app/components/avo/fields/common/single_file_viewer_component.rb
avo-1.21.0.pre.1 app/components/avo/fields/common/single_file_viewer_component.rb