Package-level declarations

What the stateless components render. Map your own data into these before handing it over.

Types

Link copied to clipboard
data class ArticleUiState(val title: String, val preview: String? = null, val theme: String? = null, val imageUrl: String? = null, var isBookmarked: Boolean = false, val offsetReleaseDate: OffsetDateTime? = null, val readingTime: Double? = null)

What the Article component renders.

Link copied to clipboard
data class DocumentUiState(val id: String, val title: String, val description: String, val formattedDate: String, val previewImageUrl: String? = null)

What the Document and DocumentList components render.

Link copied to clipboard
data class VideoPreviewUiState(val id: String, val title: String, val coverUrl: String? = null, val publisherLogoUrl: String? = null)

UI representation of a video preview item.