Class: RUI::Card::Footer::Actions

Inherits:
Base
  • Object
show all
Defined in:
lib/rui/card.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from RUI::Base

Instance Method Details

#action(href: "#", **kwargs) ⇒ Object



76
77
78
# File 'lib/rui/card.rb', line 76

def action(href: "#", **kwargs, &)
  a(href:, class: "text-blue-700 hover:underline uppercase text-sm font-semibold", **kwargs, &)
end

#view_templateObject



72
73
74
# File 'lib/rui/card.rb', line 72

def view_template(&)
  div(class: "flex flex-row gap-2 items-center", &)
end