CustomTopBar

fun CustomTopBar(title: String, avatarUrl: String? = null, navigationIcon: Int? = R.drawable.kindly_ic_arrow_back, onNavigationClick: () -> Unit? = null, actions: @Composable RowScope.() -> Unit = {})

Reusable CustomTopBar that can be added to any screen Provides the same UI as the current TopBar with full customization options

Parameters

title

The main title text

avatarUrl

Optional avatar URL (when provided, shows avatar + title like main chat)

navigationIcon

Optional left navigation icon (defaults to back arrow)

onNavigationClick

Callback for navigation icon click

actions

Optional right side actions (icons, buttons, etc.)