Updated on 2026-08-14
This commit is contained in:
parent
e3b1480e32
commit
ad4e7e78e9
7 changed files with 96 additions and 24 deletions
|
|
@ -5,8 +5,11 @@ import androidx.compose.runtime.Stable
|
|||
import androidx.compose.runtime.State
|
||||
import androidx.compose.ui.Modifier
|
||||
import androidx.compose.ui.unit.Dp
|
||||
import com.tangem.core.decompose.context.AppComponentContext
|
||||
import com.tangem.core.decompose.factory.ComponentFactory
|
||||
import com.tangem.core.ui.decompose.ComposableContentComponent
|
||||
import com.tangem.domain.appcurrency.model.AppCurrency
|
||||
import com.tangem.domain.markets.TokenMarketParams
|
||||
import com.tangem.features.markets.entry.BottomSheetState
|
||||
|
||||
@Stable
|
||||
|
|
@ -19,5 +22,13 @@ interface MarketsTokenListComponent : ComposableContentComponent {
|
|||
modifier: Modifier,
|
||||
)
|
||||
|
||||
interface Factory : ComponentFactory<Unit, MarketsTokenListComponent>
|
||||
interface FactoryScreen : ComponentFactory<Unit, MarketsTokenListComponent>
|
||||
|
||||
interface FactoryBottomSheet {
|
||||
fun create(
|
||||
context: AppComponentContext,
|
||||
params: Unit,
|
||||
onTokenClick: ((TokenMarketParams, AppCurrency) -> Unit)?,
|
||||
): MarketsTokenListComponent
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue