EmptyStateContent
private fun EmptyStateContent( 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)
Content of the EmptyState component
Parameters
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...