make Alert#attrs to be optional

This commit is contained in:
InsanusMokrassar 2022-02-09 13:48:06 +06:00
parent 01349d2fac
commit 53c728d7bc

View File

@ -11,7 +11,7 @@ import org.w3c.dom.HTMLDivElement
@Composable
fun Alert(
attrs: Attrs<HTMLDivElement>,
attrs: Attrs<HTMLDivElement> = Attrs.empty(),
animation: UIKitAnimation? = UIKitAnimation.Fade,
duration: Milliseconds? = null,
selClose: String? = null,