ModalHeaderAction
data class ModalHeaderAction(@DrawableRes val iconResource: Int, val contentDescription: String? = null, val action: () -> Unit)(source)
A ModalHeaderAction is represented as an IconButton added to the header component
Properties
Link copied to clipboard
text used by accessibility services to describe what this icon represents. This should always be provided unless this icon is used for decorative purposes, and does not represent a meaningful action that a user can take. This text should be localized, such as by using androidx.compose.ui.res.stringResource or similar.
Link copied to clipboard
Resources object to query the image file from.