start adding of posts view
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package dev.inmo.postssystem.services.posts.client.ui.posts_list
|
||||
|
||||
import dev.inmo.postssystem.features.posts.common.Post
|
||||
import kotlinx.serialization.Serializable
|
||||
|
||||
@Serializable
|
||||
sealed class PostsListUIState {
|
||||
@Serializable
|
||||
object Loading : PostsListUIState()
|
||||
@Serializable
|
||||
data class Show(
|
||||
val posts: List<Post>
|
||||
) : PostsListUIState()
|
||||
|
||||
}
|
Reference in New Issue
Block a user