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 (cover, title, etc.)

modifier

optional Modifier applied to the card container

colors

visual configuration for border, title color, and other UI accents

onClick

callback invoked when the card is tapped, receiving the item