//MetaPhrase/com.github.diegoberaldin.metaphrase.feature.translate.panel.validate.presentation/ValidateComponent
ValidateComponent
[jvm]
interface ValidateComponent : MviModel<ValidateComponent.Intent, ValidateComponent.UiState, ValidateComponent.Effect>
Validation component.
Types
Name | Summary |
---|---|
Effect | [jvm] interface Effect Effects. |
Intent | [jvm] interface Intent View intents. |
UiState | [jvm] data class UiState(val content: ValidationContent? = null) UI state of the validation panel. |
Properties
Name | Summary |
---|---|
effects | [jvm] abstract val effects: SharedFlow<ValidateComponent.Effect> |
uiState | [jvm] abstract val uiState: StateFlow<ValidateComponent.UiState> |
Functions
Name | Summary |
---|---|
reduce | [jvm] abstract fun reduce(intent: ValidateComponent.Intent) |