We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 514528d commit 8dba4a4Copy full SHA for 8dba4a4
compose-html-material3/src/jsMain/kotlin/com/huanshankeji/compose/html/material3/MdFab.kt
@@ -11,16 +11,16 @@ https://material-web.dev/components/fab/stories/
11
*/
12
13
fun <TElement : Element> SimplifiedTagElement(
14
- content: (ElementScope<TElement>.() -> Unit)?
+ content: (ElementScope<TElement>.() -> Unit)
15
) {
16
TODO()
17
}
18
19
class MdFabScope(val elementScope: ElementScope<HTMLElement>)
20
21
private fun SimplifiedMdFab(
22
- content: (MdFabScope.() -> Unit)?
+ content: (MdFabScope.() -> Unit)
23
) =
24
- SimplifiedTagElement(content?.let {
+ SimplifiedTagElement(content.let {
25
{ MdFabScope(this).it() }
26
})
0 commit comments