Class: PhlexKit::ItemFooter

Inherits:
BaseComponent show all
Defined in:
app/components/phlex_kit/item/item_footer.rb

Overview

Full-width footer band of an Item. Ported from shadcn/ui's ItemFooter. See item.rb.

Instance Method Summary collapse

Methods inherited from BaseComponent

#on

Constructor Details

#initialize(**attrs) ⇒ ItemFooter

Returns a new instance of ItemFooter.



5
# File 'app/components/phlex_kit/item/item_footer.rb', line 5

def initialize(**attrs) = (@attrs = attrs)

Instance Method Details

#view_templateObject



6
# File 'app/components/phlex_kit/item/item_footer.rb', line 6

def view_template(&) = div(**mix({ class: "pk-item-footer" }, @attrs), &)