setComponent

open fun setComponent(component: Component)

Change the root component synchronously.