commonMain.com.eygraber.vice.portal.VicePortal.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vice-portal-jvm Show documentation
Show all versions of vice-portal-jvm Show documentation
A VICE integration with ComposePortal
package com.eygraber.vice.portal
import androidx.compose.runtime.Composable
import com.eygraber.portal.compose.ComposePortal
import com.eygraber.vice.ViceCompositor
import com.eygraber.vice.ViceContainer
import com.eygraber.vice.ViceEffects
import kotlin.experimental.ExperimentalObjCRefinement
import kotlin.native.HiddenFromObjC
@OptIn(ExperimentalObjCRefinement::class)
@HiddenFromObjC
public abstract class VicePortal : ComposePortal, ViceContainer()
where C : ViceCompositor, I : Any, E : ViceEffects, S : Any {
@Composable
public final override fun Render() {
Vice()
}
}