Updated on 2026-08-14
This commit is contained in:
parent
9d162d2092
commit
64c7c64b3a
7 changed files with 317 additions and 0 deletions
|
|
@ -0,0 +1,23 @@
|
|||
package com.tangem.features.yield.supply.api
|
||||
|
||||
import com.tangem.core.decompose.context.AppComponentContext
|
||||
import com.tangem.core.decompose.factory.ComponentFactory
|
||||
import com.tangem.core.ui.decompose.ComposableBottomSheetComponent
|
||||
import com.tangem.domain.models.currency.CryptoCurrency
|
||||
|
||||
interface YieldSupplyDepositedWarningComponent : ComposableBottomSheetComponent {
|
||||
|
||||
data class Params(
|
||||
val cryptoCurrency: CryptoCurrency,
|
||||
val modelCallback: ModelCallback,
|
||||
val onDismiss: () -> Unit,
|
||||
)
|
||||
|
||||
interface ModelCallback {
|
||||
fun onYieldSupplyWarningAcknowledged()
|
||||
}
|
||||
|
||||
interface Factory : ComponentFactory<Params, YieldSupplyDepositedWarningComponent> {
|
||||
override fun create(context: AppComponentContext, params: Params): YieldSupplyDepositedWarningComponent
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue