DocumentUiState

constructor(id: String, title: String, description: String, formattedDate: String, previewImageUrl: String? = null)

Parameters

id

what identifies this row. Handed back to you in the click callbacks, so make it something you can resolve — the issue id, typically.

description

the line shown under the title.

title

the document's name.

formattedDate

the date, already formatted for display. The component does no formatting and no localisation of its own.

previewImageUrl

the cover thumbnail, if there is one. A placeholder stands in when null.