app/components/ariadne/ui/table/row/component.rb in ariadne_view_components-0.0.86.9 vs app/components/ariadne/ui/table/row/component.rb in ariadne_view_components-0.0.87
- old
+ new
@@ -9,9 +9,13 @@
attr_accessor :context
renders_one :row_action, Ariadne::UI::Combobox::Component
renders_many :cells, Ariadne::UI::Table::Cell::Component
+ accepts_html_attributes do |html_attrs|
+ html_attrs[:class] = Ariadne::ViewComponents.tailwind_merger.merge([style(:row), html_attrs[:class]].join(" "))
+ end
+
style :row do
base do
[
"ariadne-border-b",
"ariadne-transition-colors",