Class: PhlexKit::EmptyDescription
- Inherits:
-
BaseComponent
- Object
- Phlex::HTML
- BaseComponent
- PhlexKit::EmptyDescription
- Defined in:
- app/components/phlex_kit/empty/empty_description.rb
Instance Method Summary collapse
-
#initialize(**attrs) ⇒ EmptyDescription
constructor
A new instance of EmptyDescription.
- #view_template ⇒ Object
Methods inherited from BaseComponent
Constructor Details
#initialize(**attrs) ⇒ EmptyDescription
Returns a new instance of EmptyDescription.
3 |
# File 'app/components/phlex_kit/empty/empty_description.rb', line 3 def initialize(**attrs) = (@attrs = attrs) |
Instance Method Details
#view_template ⇒ Object
4 |
# File 'app/components/phlex_kit/empty/empty_description.rb', line 4 def view_template(&) = div(**mix({ class: "pk-empty-description" }, @attrs), &) |