summaryrefslogtreecommitdiff
path: root/sw-ui/src/main/kotlin/com
diff options
context:
space:
mode:
Diffstat (limited to 'sw-ui/src/main/kotlin/com')
-rw-r--r--sw-ui/src/main/kotlin/com/palantir/blueprintjs/blueprintjsHelpers.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw-ui/src/main/kotlin/com/palantir/blueprintjs/blueprintjsHelpers.kt b/sw-ui/src/main/kotlin/com/palantir/blueprintjs/blueprintjsHelpers.kt
index d486f818..bf4df032 100644
--- a/sw-ui/src/main/kotlin/com/palantir/blueprintjs/blueprintjsHelpers.kt
+++ b/sw-ui/src/main/kotlin/com/palantir/blueprintjs/blueprintjsHelpers.kt
@@ -1,11 +1,11 @@
package com.palantir.blueprintjs
-import org.luxons.sevenwonders.ui.utils.createElement
import org.w3c.dom.events.Event
import org.w3c.dom.events.MouseEvent
import react.RBuilder
import react.RHandler
import react.ReactElement
+import react.buildElement
import react.dom.*
typealias IconName = String
@@ -129,7 +129,7 @@ fun RBuilder.bpNonIdealState(
action: ReactElement? = null,
children: ReactElement? = null,
block: RHandler<INonIdealStateProps> = {}
-): ReactElement = bpNonIdealState(icon, createElement { h2 { +title } }, description, action, children, block)
+): ReactElement = bpNonIdealState(icon, buildElement { h2 { +title } }, description, action, children, block)
fun RBuilder.bpOverlay(
isOpen: Boolean,
bgstack15