Updated on 2026-08-14

This commit is contained in:
Tangem 2025-09-17 15:15:55 +05:00
parent 9d162d2092
commit 64c7c64b3a
7 changed files with 317 additions and 0 deletions

View file

@ -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
}
}