Companion

object Companion

Functions

Link copied to clipboard
inline fun <C : Component> create(type: ComponentKind = ComponentKind.Generic): ComponentRef

Creates a ComponentRef from a C component, with optionally the type of the component (by default set to ComponentKind.Generic).

fun create(component: Component, type: ComponentKind = ComponentKind.Generic): ComponentRef

Creates a ComponentRef from a component, with optionally the type of the component (by default set to ComponentKind.Generic).