Icon Badge
fun IconBadge(modifier: Modifier = Modifier, style: BadgeStyle = LocalIconBadgeStyle.current, content: @Composable () -> Unit? = null, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, motion: Motion<IconBadgeMotionStyle> = rememberIconBadgeMotion(
motionContext = rememberMotionContext(interactionSource),
))
Компонент Badge c иконкой
Parameters
modifier
модификатор
style
стиль компонента
content
контент (иконка)
interaction Source
источник взаимодействий
motion
объект анимаций