Plain Tooltip
fun TooltipScope.PlainTooltip(modifier: Modifier = Modifier, caretShape: Shape? = null, maxWidth: Dp = TooltipDefaults.PlainTooltipMaxWidth, cornerRadius: Dp = TooltipDefaults.PlainTooltipCornerRadius, containerColor: Color = TooltipDefaults.plainTooltipContainerColor, contentColor: Color = TooltipDefaults.plainTooltipContentColor, insideMargin: PaddingValues = TooltipDefaults.PlainTooltipInsideMargin, content: @Composable () -> Unit)
A plain tooltip that briefly describes an anchor with a short text label, using the Miuix inverse surface style.
Parameters
modifier
the modifier applied to the tooltip.
caret Shape
when non-null, draws a caret pointing at the anchor; null (default) keeps the Miuix caret-less style.
max Width
the maximum width of the tooltip.
corner Radius
the corner radius of the tooltip.
container Color
the container color of the tooltip.
content Color
the content color of the tooltip.
inside Margin
the margin inside the tooltip.
content
the tooltip content, usually a short Text.