You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

23 lines
495 B

import androidx.compose.runtime.Composable
import org.jetbrains.compose.web.dom.Div
import org.jetbrains.compose.web.dom.Text
interface ComposableCollection {
val list: List<@Composable () -> Unit>
fun add(c: @Composable () -> Unit)
}
interface ComposableContent {
@Composable
fun ComposableContent()
}
abstract class AbstrComposableContent : ComposableContent {
@Composable
override fun ComposableContent() {
Div { Text("AbstrComposableContent") }
}
}