Sha256: 9c33711d7af703db3ce0d6c5ee06f824775cb06a8c19cdd6a3350819957180be

Contents?: true

Size: 387 Bytes

Versions: 20

Compression:

Stored size: 387 Bytes

Contents

# frozen_string_literal: true

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

  def initialize(id:, file:, is_image:, direct_upload: false, resource:, button_size: :md)
    @id = id
    @file = file
    @is_image = is_image
    @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.20.1 app/components/avo/fields/common/single_file_viewer_component.rb
avo-1.19.1.pre.11 app/components/avo/fields/common/single_file_viewer_component.rb
avo-1.19.1.pre.10 app/components/avo/fields/common/single_file_viewer_component.rb
avo-1.19.1.pre.9 app/components/avo/fields/common/single_file_viewer_component.rb
avo-1.19.1.pre.8 app/components/avo/fields/common/single_file_viewer_component.rb
avo-1.19.1.pre.7 app/components/avo/fields/common/single_file_viewer_component.rb
avo-1.19.1.pre.6 app/components/avo/fields/common/single_file_viewer_component.rb
avo-1.19.1.pre.5 app/components/avo/fields/common/single_file_viewer_component.rb
avo-1.19.1.pre.4 app/components/avo/fields/common/single_file_viewer_component.rb
avo-1.19.1.pre.3 app/components/avo/fields/common/single_file_viewer_component.rb
avo-1.19.1.pre.2 app/components/avo/fields/common/single_file_viewer_component.rb
avo-1.19.1.pre.1 app/components/avo/fields/common/single_file_viewer_component.rb
avo-1.19.0 app/components/avo/fields/common/single_file_viewer_component.rb
avo-1.18.2 app/components/avo/fields/common/single_file_viewer_component.rb
avo-1.18.2.pre.0 app/components/avo/fields/common/single_file_viewer_component.rb
avo-1.18.1 app/components/avo/fields/common/single_file_viewer_component.rb
avo-1.18.0 app/components/avo/fields/common/single_file_viewer_component.rb
avo-1.18.0.pre.3 app/components/avo/fields/common/single_file_viewer_component.rb
avo-1.18.0.pre.2 app/components/avo/fields/common/single_file_viewer_component.rb
avo-1.18.0.pre.1 app/components/avo/fields/common/single_file_viewer_component.rb