Sha256: 7a6437395a8d91cd6d8247600b0474a10e3fdd37a10fbfec15cf6b1eb3a900f9

Contents?: true

Size: 332 Bytes

Versions: 62

Compression:

Stored size: 332 Bytes

Contents

# frozen_string_literal: true

class Avo::Fields::Common::MultipleFileViewerComponent < 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

62 entries across 62 versions & 1 rubygems

Version Path
avo-1.4.1 app/components/avo/fields/common/multiple_file_viewer_component.rb
avo-1.4.0 app/components/avo/fields/common/multiple_file_viewer_component.rb