noredink-ui
noredink-ui copied to clipboard
Switching between `Table.string` and `Table.custom` is cumbersome
This is an example of Table.string
:
Table.string
{ header = "Topic"
, value = .topic
, width = Css.auto
, cellStyles =
always
[ Css.padding (Css.px 15)
, Css.fontWeight Css.bold
]
, sort = Nothing
}
If we want to change it to Table.custom
, the value
property needs to be changed to view
. Why? Could they be called the same? That way it would take, at least me, much less time and memory to remember how to switch from one to the other.
Will be addressed as part of A11-2770