-
Notifications
You must be signed in to change notification settings - Fork 0
button
//tvlib/org.mjdev.tvlib.ui.components.button/Button
[androidJvm]\
fun Button(text: Any? = "test", modifier: Modifier = Modifier, fontSize: TextUnit = 24.sp, fontWeight: FontWeight = FontWeight.Bold, color: Color = Color.White, containerColor: Color = Color.LightGray, contentPadding: PaddingValues = PaddingValues(0.dp), roundRectSize: Dp = 8.dp, shape: Shape = RoundedCornerShape(roundRectSize), borderSize: Dp = 2.dp, borderColor: Color = Color.White, glow: ButtonGlow = ButtonDefaults.NO_GLOW, scale: ButtonScale = ButtonDefaults.NO_SCALE, focusState: MutableState<FocusState> = rememberFocusState(), onClick: () -> Unit? = null, content: @ComposableRowScope.() -> Unit = { TextAny( text = text, color = color, textAlign = TextAlign.Center, maxLines = 1 ) })