Class: Playbook::PbTable::TableRow

Inherits:
Object
  • Object
show all
Includes:
Playbook::Props
Defined in:
app/pb_kits/playbook/pb_table/table_row.rb

Instance Method Summary collapse

Methods included from Playbook::Props

#dark_props, #generate_classname, #generate_classname_without_spacing, #initialize, #prop, #spacing_options, #spacing_props, #spacing_values

Instance Method Details

#classnameObject



13
14
15
# File 'app/pb_kits/playbook/pb_table/table_row.rb', line 13

def classname
  generate_classname("pb_table_row_kit", side_highlight_class)
end

#side_highlight_classObject



17
18
19
# File 'app/pb_kits/playbook/pb_table/table_row.rb', line 17

def side_highlight_class
  side_highlight_color.present? ? "side_highlight_#{side_highlight_color}" : nil
end