table

fun <ERROR CLASS>.table(    headerNames: List<String>? = null,     types: Set<TableType> = setOf(),     caption: String? = null,     responsiveType: ResponsiveType? = null,     tableColor: TableColor? = null,     theadColor: TableColor? = null,     className: String? = null,     init: Table.() -> Unit? = null): Table

DSL builder extension function.

It takes the same parameters as the constructor of the built component.