KPBottomSheetSingleSelectItem
A composable function that creates a single-select item with a text label, optional description, helper text, and icon for a bottom sheet.
Parameters
A boolean value that determines whether the item is selected.
The text label to be displayed for the item.
A lambda function to be invoked when the item is clicked.
A Modifier
for styling and layout customization. Default is Modifier
.
A boolean value that determines whether the icon is visible. Default is true
.
A TextStyle
for customizing the appearance of the text label. Default is KPDesign.typography.titleMediumColorOnSurfaceVariant3
.
An optional helper text to be displayed next to the item. Default is an empty string.
A TextStyle
for customizing the appearance of the helper text. Default is KPDesign.typography.body2MediumColorWarning
.
An optional description text to be displayed below the label. Default is an empty string.
A TextStyle
for customizing the appearance of the description text. Default is KPDesign.typography.body1ColorOnSurfaceVariant1
.