summaryrefslogtreecommitdiff
path: root/sw-ui-kt/src/main/kotlin/blueprintjsHelpers.kt
diff options
context:
space:
mode:
Diffstat (limited to 'sw-ui-kt/src/main/kotlin/blueprintjsHelpers.kt')
-rw-r--r--sw-ui-kt/src/main/kotlin/blueprintjsHelpers.kt6
1 files changed, 6 insertions, 0 deletions
diff --git a/sw-ui-kt/src/main/kotlin/blueprintjsHelpers.kt b/sw-ui-kt/src/main/kotlin/blueprintjsHelpers.kt
index 1b20423c..22489c86 100644
--- a/sw-ui-kt/src/main/kotlin/blueprintjsHelpers.kt
+++ b/sw-ui-kt/src/main/kotlin/blueprintjsHelpers.kt
@@ -52,6 +52,12 @@ fun RBuilder.bpButton(
block()
}
+fun RBuilder.bpButtonGroup(
+ block: RHandler<IButtonGroupProps> = {}
+): ReactElement = child(ButtonGroup::class) {
+ block()
+}
+
fun RBuilder.bpInputGroup(
large: Boolean = false,
placeholder: String = "",
bgstack15