Bottom Sheet Shell
DHIS2 BottomSheetShell. Wraps compose · ModalBottomSheet. desktop version to be implemented
Need to override searchQuery, onSearchQueryChanged&onSearch in order to show the search bar. (TODO: We can add lint check for this)
Parameters
: title to be shown.
: subTitle to be shown.
: PopUp description.
: Search query to be displayed in the search bar.
: whether to show the divider or not.
: the icon to be shown.
: Space for the lower buttons.
: to be shown under the header.
: Pass custom scroll state when content is scrollable. For example, pass configure it when using LazyColumn
to Modifier.verticalScroll
for content.
: Callback when search query is changed.
: Callback when search action is triggered.
: gives access to the onDismiss event.
allows a modifier to be passed externally.
Alignment for header text.
: Min size for scrollable content.
: Max size for scrollable content.