comp

inline fun <P, C : Component<P>> Tag.comp(props: P, noinline component: (Ctx<P>) -> C): ComponentRef<C>

Adds a child component to the current tag


inline fun <C : Component<Any?>> Tag.comp(noinline component: (NoProps) -> C): ComponentRef<C>

Adds a parameterless child component to the current tag