class TableRowComponentPreview

Public Instance Methods

default() click to toggle source
# File lib/alveole/previews/table_row_component_preview.rb, line 4
def default
  render(TableRowComponent.new) do |tablerow|
    tablerow.actions do
      tag.td('Example actions')
    end
    tag.td('Example content')
  end
end
without_actions() click to toggle source
# File lib/alveole/previews/table_row_component_preview.rb, line 13
def without_actions
  render(TableRowComponent.new) do |_tablerow|
    tag.td('Example content')
  end
end