Sha256: 1b4f63255ae111017b84becd5a7c35467930097552c87e490c947bfeaf60b68d
Contents?: true
Size: 515 Bytes
Versions: 52
Compression:
Stored size: 515 Bytes
Contents
# frozen_string_literal: true class Avo::ResourceSidebarComponent < ViewComponent::Base attr_reader :resource attr_reader :params attr_reader :view attr_reader :form attr_reader :fields attr_reader :index def initialize(resource: nil, sidebar: nil, index: nil, params: nil, form: nil, view: nil) @resource = resource @sidebar = sidebar @params = params @view = view @form = form @index = index end def render? Avo.license.has_with_trial(:resource_sidebar) end end
Version data entries
52 entries across 52 versions & 1 rubygems