Updated on 2026-08-14

This commit is contained in:
Tangem 2026-05-22 11:17:28 +02:00
parent 6031a97ffe
commit 8d0f11d10b
67 changed files with 1527 additions and 41 deletions

View file

@ -0,0 +1,14 @@
plugins {
alias(deps.plugins.android.library)
alias(deps.plugins.kotlin.android)
id("configuration")
}
android {
namespace = "com.tangem.features.rating.api"
}
dependencies {
implementation(projects.core.decompose)
implementation(projects.core.ui)
}

View file

@ -0,0 +1,16 @@
package com.tangem.features.rating
import com.tangem.core.decompose.context.AppComponentContext
import com.tangem.core.ui.decompose.ComposableContentComponent
interface RatingComponent : ComposableContentComponent {
class Params(
val onLoadRating: suspend () -> Int?,
val onSubmitRating: suspend (rating: Int, feedback: String) -> Unit,
)
interface Factory {
fun create(context: AppComponentContext, params: Params): RatingComponent
}
}