You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: libraries/designsystem/src/main/kotlin/io/element/android/libraries/designsystem/theme/components/ListItem.kt
* A List Item component to be used in lists and menus with simple layouts, matching the Material 3 guidelines.
82
+
* @param headlineContent The main content of the list item, usually a text.
83
+
* @param modifier The modifier to be applied to the list item.
84
+
* @param supportingContent The content to be displayed below the headline content.
85
+
* @param leadingContent The content to be displayed before the headline content.
86
+
* @param trailingContent The content to be displayed after the headline content.
87
+
* @param colors The colors to use for the list item.
88
+
* @param enabled Whether the list item is enabled. When disabled, will change the color of the headline content and the leading content to use disabled tokens.
89
+
* @param onClick The callback to be called when the list item is clicked.
0 commit comments