Class: Avo::EmptyStateComponent
- Inherits:
-
BaseComponent
- Object
- ViewComponent::Base
- BaseComponent
- Avo::EmptyStateComponent
- 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
Methods included from Concerns::FindAssociationField
Instance Method Details
#text ⇒ Object
11 12 13 |
# File 'app/components/avo/empty_state_component.rb', line 11 def text @message || end |
#view_type_svg ⇒ Object
15 16 17 |
# File 'app/components/avo/empty_state_component.rb', line 15 def view_type_svg "avo/#{@view_type}-empty-state" end |