day8 / re-com

A ClojureScript library of reusable components for Reagent

Home Page:https://re-com.day8.com.au

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add simple-v-table parts for rows

Gregg8 opened this issue · comments

In simple-v-table, we currently have :parts keys for:

  • :simple-column-headers - the container for the column header
  • :simple-column-header - the column header cells/fields/items

to style the column header section (and top-left), but no equivalent for rows

Propose we add:

  • :simple-rows
  • :simple-row

Notes:

  • We already have :row-style and :cell-style which nicely handle the inline style part of rows and row-cells but that doesn't handle :class or :attr
  • Perhaps adding these would have a performance hit?
  • I also think the names could be improved. Suggestion:
    • :simple-column-header
    • :simple-column-header-item
    • :simple-row
    • :simple-row-item