Mobile UI
Toggle table of contents
0.9.0
common
Platform filter
common
Switch theme
Search in API
Mobile UI
Mobile UI
/
org.hisp.dhis.mobile.ui.designsystem.component
/
CustomMarkdownTable
Custom
Markdown
Table
@
Composable
fun
CustomMarkdownTable
(
content
:
String
,
node
:
ASTNode
,
style
:
TextStyle
,
annotatorSettings
:
AnnotatorSettings
=
annotatorSettings()
,
headerBlock
:
@
Composable
(
String
,
ASTNode
,
Dp
,
TextStyle
)
->
Unit
=
{ content, header, tableWidth, style -> CustomMarkdownTableHeader( content = content, header = header, tableWidth = tableWidth, style = style, annotatorSettings = annotatorSettings, ) }
,
rowBlock
:
@
Composable
(
String
,
ASTNode
,
Dp
,
TextStyle
)
->
Unit
=
{ content, header, tableWidth, style -> CustomMarkdownTableRow( content = content, header = header, tableWidth = tableWidth, style = style, annotatorSettings = annotatorSettings, ) }
)