Class: Oversee::Table::Row

Inherits:
Phlex::HTML
  • Object
show all
Defined in:
app/components/oversee/table/row.rb

Instance Method Summary collapse

Instance Method Details

#dataObject



6
7
8
# File 'app/components/oversee/table/row.rb', line 6

def data(&)
  render Oversee::Table::Data.new(&)
end

#view_templateObject



2
3
4
# File 'app/components/oversee/table/row.rb', line 2

def view_template(&)
  tr(class: "divide-x divide-gray-200") { yield }
end