package com.ustadmobile.libuicompose.view.contententry.list

import androidx.compose.desktop.ui.tooling.preview.Preview
import androidx.compose.foundation.layout.*
import androidx.compose.runtime.Composable
import com.ustadmobile.core.viewmodel.contententry.list.ContentEntryListUiState

@Composable
@Preview
private fun ContentEntryListScreenPreview() {

    ContentEntryListScreen(
        uiState = ContentEntryListUiState(
//            contentEntryList = {
//                ListPagingSource(listOf(
//                    ContentEntryWithParentChildJoinAndStatusAndMostRecentContainer().apply {
//                        contentEntryUid = 1
//                        leaf = false
//                        ceInactive = true
//                        scoreProgress = ContentEntryStatementScoreProgress().apply {
//                            progress = 10
//                            penalty = 20
//                        }
//                        contentTypeFlag = ContentEntry.TYPE_INTERACTIVE_EXERCISE
//                        title = "Content Title 1"
//                        description = "Content Description 1"
//                    },
//                    ContentEntryWithParentChildJoinAndStatusAndMostRecentContainer().apply {
//                        contentEntryUid = 2
//                        leaf = true
//                        ceInactive = false
//                        contentTypeFlag = ContentEntry.TYPE_DOCUMENT
//                        title = "Content Title 2"
//                        description = "Content Description 2"
//                    }
//                ))
//            },
        )
    )
}