Add Preview for timeline items.

This commit is contained in:
Benoit Marty 2023-02-14 11:34:27 +01:00 committed by Benoit Marty
parent 3cde7d5356
commit 53c8d3ff7c
11 changed files with 265 additions and 39 deletions

View file

@ -89,12 +89,12 @@ fun MatrixUserRow(
@Preview
@Composable
fun MatrixUserRowLightPreview(@PreviewParameter(MatrixUserProvider::class) matrixUser: MatrixUser) =
internal fun MatrixUserRowLightPreview(@PreviewParameter(MatrixUserProvider::class) matrixUser: MatrixUser) =
ElementPreviewLight { ContentToPreview(matrixUser) }
@Preview
@Composable
fun MatrixUserRowDarkPreview(@PreviewParameter(MatrixUserProvider::class) matrixUser: MatrixUser) =
internal fun MatrixUserRowDarkPreview(@PreviewParameter(MatrixUserProvider::class) matrixUser: MatrixUser) =
ElementPreviewDark { ContentToPreview(matrixUser) }
@Composable