Package-level declarations

Types

Link copied to clipboard
sealed interface ImageKind : ComponentKind

Properties

Link copied to clipboard

Functions

Link copied to clipboard
@Composable
fun Image(src: String, modifier: Modifier = Modifier, variant: CssStyleVariant<ImageKind>? = null, width: Int? = null, height: Int? = null, alt: String = "", ref: ElementRefScope<HTMLImageElement>? = null)

An Img tag with a more Silk-like API.

@Composable
fun Image(src: String, description: String, modifier: Modifier = Modifier, variant: CssStyleVariant<ImageKind>? = null, width: Int? = null, height: Int? = null, ref: ElementRefScope<HTMLImageElement>? = null)

Convenience version of Image where the alt description is not optional.