Skyline_table_v1SourceDisplay some data as a simple table. A table layout can be helpful to present a set of tabular data or to provide a quick overview.
val component :
?layout:Layout.t ->
?border:bool ->
?padding:Css_gen.Length.t ->
'cols Col.t_list ->
'cols Row.t list ->
Bonsai_web.Vdom.Node.tRenders a table with the given columns and rows. Tables are a good way to present tabular data (like you might find in a SQL schema).
If you just want to display a list of items, consider using Skyline.Flex.column instead, unless you want your list to visually look like a table.