Class: Avo::EmptyStateComponent

Inherits:
BaseComponent
  • Object
show all
Defined in:
app/components/avo/empty_state_component.rb

Constant Summary

Constants included from Concerns::FindAssociationField

Concerns::FindAssociationField::ASSOCIATIONS

Instance Method Summary collapse

Methods inherited from BaseComponent

#has_with_trial

Methods included from Concerns::FindAssociationField

#find_association_field

Instance Method Details

#textObject



11
12
13
# File 'app/components/avo/empty_state_component.rb', line 11

def text
  @message || locale_message
end

#view_type_svgObject



15
16
17
# File 'app/components/avo/empty_state_component.rb', line 15

def view_type_svg
  "avo/#{@view_type}-empty-state"
end