Kwik Image Card Horizontal
fun KwikImageCardHorizontal(modifier: Modifier = Modifier, containerColor: Color = MaterialTheme.colorScheme.surface, shape: Shape = MaterialTheme.shapes.medium, image: Any, elevation: CardElevation = CardDefaults.cardElevation(defaultElevation = 2.dp), onClick: () -> Unit = {}, content: @Composable () -> Unit = {})
A card component with an image and a title
Parameters
modifier
Modifier
image
Any image to be displayed. Can be a URL or a resource ID. Note that it'll fill the whole card
on Click
() -> Unit called when card is clicked
content
@Composable () -> Unit content of the card