Jet Lime Event
fun JetLimeEvent(modifier: Modifier = Modifier, style: JetLimeEventStyle = JetLimeEventDefaults.eventStyle(EventPosition.END), content: @Composable () -> Unit)
Composable function for creating a JetLimeColumn or JetLimeRow event.
Example usage:
val items = remember { getItemsList() }
JetLimeColumn(
itemsList = ItemsList(items),
key = { _, item -> item.id },
style = JetLimeDefaults.columnStyle(),
) { index, item, position ->
JetLimeEvent(
style = JetLimeEventDefaults.eventStyle(position = position)
) {
ComposableContent(item = item)
}
}
Content copied to clipboard
Parameters
modifier
The modifier to be applied to the event.
style
The style of the JetLimeColumn or JetLimeRow event, defaulting to JetLimeEventDefaults.eventStyle.
content
The composable content inside the event.