-
Notifications
You must be signed in to change notification settings - Fork 0
focusable box
//tvlib/org.mjdev.tvlib.ui.components.complex/FocusableBox
[androidJvm]\
fun FocusableBox(modifier: Modifier = Modifier, enabled: Boolean = true, tonalElevation: Dp = 0.dp, focusedColor: Color = Color.Green, unFocusedColor: Color = Color.Transparent, pressedColor: Color = focusedColor.copy(alpha = 0.5f), disabledColor: Color = Color.Gray.copy(alpha = 0.5f), roundCornerSize: Dp = 0.dp, shape: Shape = RoundedCornerShape(roundCornerSize), borderColor: Color = Color.Transparent, borderSize: Dp = 0.dp, focusRequester: FocusRequester = rememberFocusRequester(), focusState: MutableState<FocusState> = rememberFocusState(), onFocusChange: (state: FocusState, fromUser: Boolean) -> Unit? = null, onClick: () -> Unit? = null, content: @ComposableBoxScope.() -> Unit = {})