comp
inline fun <P, C : Component<P>> Tag.comp(props: P, noinline component: (Ctx<P>) -> C): ComponentRef<C>
Content copied to clipboard
Adds a child component to the current tag
inline fun <C : Component<Any?>> Tag.comp(noinline component: (NoProps) -> C): ComponentRef<C>
Content copied to clipboard
Adds a parameterless child component to the current tag