mirror of
https://github.com/InsanusMokrassar/KotlinPublicationScriptsBuilder.git
synced 2026-04-03 23:02:21 +00:00
complete rework
This commit is contained in:
@@ -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) }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user