Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.material3.ExperimentalMaterial3Api
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.unit.Dp
import com.spoony.spoony.core.designsystem.theme.SpoonyAndroidTheme
import com.spoony.spoony.core.designsystem.type.AdvancedSheetState
import io.morfly.compose.bottomsheet.material3.BottomSheetScaffold
Expand All @@ -16,6 +17,7 @@ fun SpoonyAdvancedBottomSheet(
sheetContent: @Composable () -> Unit,
modifier: Modifier = Modifier,
sheetSwipeEnabled: Boolean = true,
sheetMaxWidth: Dp = Dp.Infinity,
dragHandle: @Composable () -> Unit = { SpoonyBasicDragHandle() },
content: @Composable () -> Unit
) {
Expand All @@ -27,7 +29,8 @@ fun SpoonyAdvancedBottomSheet(
sheetSwipeEnabled = sheetSwipeEnabled,
modifier = modifier,
sheetContainerColor = SpoonyAndroidTheme.colors.white,
sheetDragHandle = dragHandle
sheetDragHandle = dragHandle,
sheetMaxWidth = sheetMaxWidth
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이걸 추가하면 되는군요

) {
content()
}
Expand Down