Add priority row preview

pull/2016/head
Alex Baker 2 years ago
parent 124a9f84ee
commit eb631967fd

@ -122,4 +122,17 @@ fun PriorityPreviewNoDesaturate() {
desaturate = false,
)
}
}
@ExperimentalComposeUiApi
@Preview(locale = "de", widthDp = 320, showBackground = true)
@Composable
fun PriorityNarrowWidth() {
MdcTheme {
PriorityRow(
priority = Task.Priority.MEDIUM,
onChangePriority = {},
desaturate = false,
)
}
}
Loading…
Cancel
Save