class RemotePreviewWrapper : PreviewWrapperProvider


Default PreviewWrapperProvider of Remote Compose, that uses RcPlatformProfiles.ANDROIDX profile.

To apply this wrapper to a Composable Preview, use the androidx.compose.ui.tooling.preview.PreviewWrapper annotation:

@Preview
@PreviewWrapper
(RemotePreviewWrapper::class)
@Composable
fun
MyRemotePreview() {
// remote compose content
}

Summary

Public constructors

Public functions

open Unit
@Composable
Wrap(content: @Composable () -> Unit)

Public constructors

RemotePreviewWrapper

Added in 1.0.0-alpha12
RemotePreviewWrapper()

Public functions

Wrap

Added in 1.0.0-alpha12
@Composable
open fun Wrap(content: @Composable () -> Unit): Unit