SnippetLoadingView

fun SnippetLoadingView(loadingState: TWSLoadingState.Loading, modifier: Modifier = Modifier)

A composable function that displays a loading indicator for snippets until main frame content is successfully loaded.

Parameters

loadingState

The current loading state containing information about progress, whether the main frame is loaded, and if the user has forced a refresh. If TWSLoadingState.Loading.isUserForceRefresh or TWSLoadingState.Loading.mainFrameLoaded are true, the loading view is skipped.

modifier

A Modifier to configure the layout or styling of the loading view.