setRoot

fun setRoot(component: Component?): LegacyLithoViewRule

Sets the new root Component to render.


fun setRoot(builder: Component.Builder<*>): LegacyLithoViewRule

Sets the new root Component.Builder to render.