complete rework

This commit is contained in:
2022-11-16 01:28:34 +06:00
parent 8430e68167
commit 9fe7c458e9
12 changed files with 57 additions and 13 deletions

View File

@@ -80,8 +80,12 @@ actual fun TitleText(text: String) {
}
@Composable
actual fun <T> ButtonsPanel(data: Iterable<T>, itemDrawer: @Composable (T) -> Unit) {
actual fun <T> ButtonsPanel(
title: String,
data: Iterable<T>,
itemDrawer: @Composable (T) -> Unit) {
Row {
Text(title, Modifier.padding(8.dp))
data.forEach { itemDrawer(it) }
}
}