Cheick Kante
07/29/2022, 12:49 AMDialog {
PaperComponent = FC { //this : ChildrenBuilder it: PaperProps
<http://it.sx|it.sx> {
fontSize = FontSize.small
backgroundColor = Color("transparent")
}
}
}
I have also tried this but doesn't do anything
Dialog {
PaperComponent = FC { //this : ChildrenBuilder it: PaperProps
it.asDynamic()["background-color"] = "transparent"
it.asDynamic()["font-size"] = "small"
}
}
Does anyoneturansky
07/29/2022, 8:47 AMDialog {
PaperComponent = MyPaper
}
val MyPaper = FC<PaperProps> { props ->
Paper {
+props
sx {
fontSize = FontSize.small
backgroundColor = NamedColor.transparent
}
}
}
Cheick Kante
07/30/2022, 9:21 PM