BottomSheetHeader

fun BottomSheetHeader(title: String, subTitle: String? = null, description: String? = null, icon: @Composable () -> Unit? = null, hasSearch: Boolean = false, headerTextAlignment: TextAlign = TextAlign.Center, modifier: Modifier = Modifier)

DHIS2 BottomSheetHeader component designed to be used within BottomSheetShell

Parameters

title

: header.

subTitle

: optional subtitle.

description

: optional description.

icon

: optional icon to be shown above the header .

hasSearch

: whether to adapt for SearchBar or not.

headerTextAlignment

: optional header alignment Alignment.

modifier

width and size of the barcode.