Table

fun RichTextScope.Table(modifier: Modifier = Modifier, headerRow: RichTextTableCellScope.() -> Unit? = null, bodyRows: RichTextTableRowScope.() -> Unit)

Draws a table with an optional header row, and an arbitrary number of body rows.

The style of the table is defined by the RichTextStyle.tableStyle TableStyle.