Updated on 2026-08-14
This commit is contained in:
parent
e354f12cf5
commit
febb2bda4c
10 changed files with 186 additions and 67 deletions
|
|
@ -1,14 +1,21 @@
|
|||
package com.tangem.features.promobanners.api
|
||||
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.runtime.Immutable
|
||||
import androidx.compose.ui.Modifier
|
||||
import androidx.compose.ui.unit.Dp
|
||||
import com.tangem.core.decompose.factory.ComponentFactory
|
||||
|
||||
@Immutable
|
||||
interface PromoBannersBlockComponent {
|
||||
|
||||
/**
|
||||
* @param walletId when non-null, renders the banners of that specific wallet (used by the wallet
|
||||
* pager so each page shows its own banners synchronously while swiping); when null, renders the
|
||||
* currently selected wallet's banners.
|
||||
*/
|
||||
@Composable
|
||||
fun ContentWithPadding(horizontalItemPadding: Dp, modifier: Modifier)
|
||||
fun ContentWithPadding(horizontalItemPadding: Dp, walletId: String?, modifier: Modifier)
|
||||
|
||||
fun setVisibleOnScreen(isVisible: Boolean)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue