Channel Edit Bottom Sheet
fun ChannelEditBottomSheet(channelEditBottomSheetContract: ChannelEditBottomSheetContract, modifier: Modifier = Modifier, menus: @Composable (ChannelEditBottomSheetContract) -> List<DialogMenuDetail> = { contract ->
SendbirdDialogDefaults.channelEditMenuItems(contract)
}, onItemClick: (DialogMenuDetail) -> Unit = { it.onClick() }, onDismissRequest: () -> Unit = {})
Represents the bottom sheet for channel edit.
Since
1.0.0
Parameters
channel Edit Bottom Sheet Contract
The contract to handle the channel edit dialog click actions.
modifier
The modifier to be applied to the view.
menus
The lambda to create the list of DialogMenuDetail.
on Item Click
The handler for when the menu item is clicked.
on Dismiss Request
The handler for when the dialog is dismissed.