Custom

data class Custom(val modifier: Modifier = Modifier, val contentAlignment: Alignment = Alignment.Center, val content: @Composable BoxScope.() -> Unit) : CompactMediaContainer(source)

Open composable container for the CompactCard. Only use this in case there are limitations using the other options.

Constructors

Link copied to clipboard
constructor(modifier: Modifier = Modifier, contentAlignment: Alignment = Alignment.Center, content: @Composable BoxScope.() -> Unit)

Properties

Link copied to clipboard

Open composable for custom content.

Link copied to clipboard

The alignment of the content. Of type Alignment with default value Alignment.Center

Link copied to clipboard

The modifier to be applied to the container. Of type Modifier.