class Avo::ResourceComponent

def render_actions_list(actions_list)

def render_actions_list(actions_list)
  return unless can_see_the_actions_button?
  render Avo::ActionsComponent.new(
    actions: @actions,
    resource: @resource,
    view: @view,
    exclude: actions_list.exclude,
    include: actions_list.include,
    style: actions_list.style,
    color: actions_list.color,
    label: actions_list.label,
    size: actions_list.size,
    as_row_control: instance_of?(Avo::Index::ResourceControlsComponent)
  )
end