VideoPreviewCard

fun VideoPreviewCard(item: VideoPreviewUiState, modifier: Modifier = Modifier, colors: VideoColors = VideoDefault.videoColors(), onClick: (VideoPreviewUiState) -> Unit = {})

Displays a clickable preview card for a video item.

This composable shows a thumbnail cover and title for the given VideoPreviewUiState, styled according to the provided colors, and triggers onClick when tapped.

Parameters

item

the video information to render: its cover and title

modifier

optional Modifier applied to the card container

colors

the colors of the card's border and of the title

onClick

callback invoked when the card is tapped, receiving the item