KPBottomSheetStaticItem

fun KPBottomSheetStaticItem(text: String, onClick: () -> Unit, modifier: Modifier = Modifier, icon: ImageVector? = null, iconPosition: Alignment.Vertical = Alignment.CenterVertically, textStyle: TextStyle = KPDesign.typography.subtitleMediumColorOnSurfaceVariant3, description: String = "", descriptionTextStyle: TextStyle = KPDesign.typography.body1ColorOnSurfaceVariant1)

A composable function that creates a static item with a text label, optional description, and optional icon for a bottom sheet.

Parameters

text

The text label to be displayed for the item.

onClick

A lambda function to be invoked when the item is clicked.

modifier

A Modifier for styling and layout customization. Default is Modifier.

icon

An optional ImageVector for the icon to be displayed next to the text. Default is null.

iconPosition

An Alignment.Vertical value to position the icon vertically. Default is Alignment.CenterVertically.

textStyle

A TextStyle for customizing the appearance of the text label. Default is KPDesign.typography.subtitleMediumColorOnSurfaceVariant3.

description

An optional description text to be displayed below the label. Default is an empty string.

descriptionTextStyle

A TextStyle for customizing the appearance of the description text. Default is KPDesign.typography.body1ColorOnSurfaceVariant1.