Updated on 2026-08-14
This commit is contained in:
parent
b3ed607c1a
commit
b9a2ab5fed
11 changed files with 71 additions and 16 deletions
|
|
@ -13,6 +13,9 @@ dependencies {
|
|||
implementation(projects.core.decompose)
|
||||
implementation(projects.core.ui)
|
||||
|
||||
/** Domain */
|
||||
implementation(projects.domain.models)
|
||||
|
||||
/** Compose */
|
||||
implementation(deps.compose.runtime)
|
||||
}
|
||||
|
|
@ -2,15 +2,22 @@ package com.tangem.features.tangempay.components
|
|||
|
||||
import com.tangem.core.decompose.factory.ComponentFactory
|
||||
import com.tangem.core.ui.decompose.ComposableContentComponent
|
||||
import com.tangem.domain.models.wallet.UserWalletId
|
||||
|
||||
interface TangemPayOnboardingComponent : ComposableContentComponent {
|
||||
|
||||
sealed class Params {
|
||||
|
||||
abstract val userWalletId: UserWalletId?
|
||||
|
||||
data class Deeplink(
|
||||
val deeplink: String,
|
||||
override val userWalletId: UserWalletId?,
|
||||
) : Params()
|
||||
|
||||
object ContinueOnboarding : Params()
|
||||
data class ContinueOnboarding(
|
||||
override val userWalletId: UserWalletId?,
|
||||
) : Params()
|
||||
}
|
||||
|
||||
interface Factory : ComponentFactory<Params, TangemPayOnboardingComponent>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue