diff --git a/core/designsystem/src/main/java/com/withpeace/withpeace/core/designsystem/ui/snackbar/SnackbarState.kt b/core/designsystem/src/main/java/com/withpeace/withpeace/core/designsystem/ui/snackbar/SnackbarState.kt new file mode 100644 index 00000000..97f7e6e5 --- /dev/null +++ b/core/designsystem/src/main/java/com/withpeace/withpeace/core/designsystem/ui/snackbar/SnackbarState.kt @@ -0,0 +1,12 @@ +package com.withpeace.withpeace.core.designsystem.ui.snackbar + +data class SnackbarState( + val message: String, + val snackbarType: SnackbarType = SnackbarType.Normal, +) + +sealed interface SnackbarType { + data object Normal : SnackbarType + data class Navigator(val actionName: String, val action: () -> Unit) : + SnackbarType +}