EmptyState
fun EmptyState( animations: UIAnimations? = null, containerModifier: Modifier = Modifier, resourceModifier: Modifier = Modifier, resourceSize: Dp = 200.dp, resource: DrawableResource, contentDescription: String?, title: String? = null, titleStyle: TextStyle = TextStyle.Default, subTitle: String? = null, subTitleStyle: TextStyle = TextStyle.Default, action: @Composable () -> Unit? = null)
fun EmptyState( animations: UIAnimations? = null, containerModifier: Modifier = Modifier, resourceModifier: Modifier = Modifier, resourceSize: Dp = 200.dp, resource: ImageVector, contentDescription: String?, title: String? = null, titleStyle: TextStyle = TextStyle.Default, subTitle: String? = null, subTitleStyle: TextStyle = TextStyle.Default, action: @Composable () -> Unit? = null)
fun EmptyState( animations: UIAnimations? = null, containerModifier: Modifier = Modifier, resourceModifier: Modifier = Modifier, resourceSize: Dp = 200.dp, resource: Painter, contentDescription: String?, title: String? = null, titleStyle: TextStyle = TextStyle.Default, subTitle: String? = null, subTitleStyle: TextStyle = TextStyle.Default, action: @Composable () -> Unit? = null)
Container component useful to display a custom empty state graphics
Parameters
animations
The set of the animations to use to animate the layout
containerModifier
The modifier to apply to the container Column
resourceModifier
The modifier to apply to the Image
resourceSize
The size occupied by the resource
contentDescription
The content description
title
Not mandatory representative title
titleStyle
The style to apply to the title
subTitle
Not mandatory representative subtitle
subTitleStyle
The style to apply to the subTitle
action
Custom content used to allow the user to react to the empty state shown as needed, for example create new item, change search, etc...