remoteComponent
Source set: JvmAndAndroid
public fun RemoteStateScope.remoteComponent(): RemoteComponent
Returns a RemoteComponent bound to this RemoteStateScope's active component.
- Resolves to the target layout component when called from a RemoteModifier or RemoteAction
- Resolves to the component currently being drawn when called from a RemoteDrawScope or
scope (such as drawWithContent).
Return
RemoteComponent bound to the active component in this RemoteStateScope