KwikTimelineEntry

constructor(id: Any = Any(), title: String? = null, description: String? = null, icon: Any? = null, accentColor: Color? = null, onClick: (KwikTimelineEntry) -> Unit = {}, content: @Composable () -> Unit? = null)

Parameters

id

Unique identifier for the timeline entry. Can be any type. Use it to identify the entry.

title

Optional title text for the timeline entry

description

Optional description text for the timeline entry

icon

Optional icon to be displayed in the timeline entry

accentColor

Optional color for the timeline entry indicator and connecting line

onClick

Optional callback when the timeline entry is clicked

content

Optional composable content to be displayed within the timeline entry