-
Notifications
You must be signed in to change notification settings - Fork 0
error message
//tvlib/org.mjdev.tvlib.ui.components.tv/ErrorMessage
[androidJvm]\
fun ErrorMessage(title: Any? = null, error: Throwable? = Exception("An unknown error happen, please contact developer, if issue does not disappear."), dismissText: Any? = R.string.bt_dismiss, color: Color = Color.White, backgroundColor: Color = Color.Red, fontSizeTitle: TextUnit = 14.sp, fontSizeMessage: TextUnit = 11.sp, fontSizeButton: TextUnit = 11.sp, fontWeight: FontWeight = FontWeight.Bold, paddingTitle: Dp = 8.dp, paddingContent: Dp = 4.dp, roundSize: Dp = 8.dp, borderSize: Dp = 1.dp, borderColor: Color = Color.DarkGray, backgroundShape: Shape = RoundedCornerShape(roundSize), dismissible: Boolean = true, visible: Boolean = isEditMode(), visibleState: MutableState<Boolean> = mutableStateOf(visible), enter: EnterTransition = EnterTransition.None, exit: ExitTransition = ExitTransition.None, dismissOnClick: () -> Unit? = null)