diff options
Diffstat (limited to 'sw-ui/src/main/kotlin/com/palantir')
-rw-r--r-- | sw-ui/src/main/kotlin/com/palantir/blueprintjs/blueprintjsHelpers.kt | 2 |
1 files changed, 2 insertions, 0 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 b7556360..9132de58 100644 --- a/sw-ui/src/main/kotlin/com/palantir/blueprintjs/blueprintjsHelpers.kt +++ b/sw-ui/src/main/kotlin/com/palantir/blueprintjs/blueprintjsHelpers.kt @@ -204,12 +204,14 @@ fun RBuilder.bpCallout( fun RBuilder.bpCard( elevation: Elevation = Elevation.ZERO, interactive: Boolean = false, + className: String? = null, onClick: () -> Unit = {}, block: RHandler<ICardProps> = {} ): ReactElement = child(Card::class) { attrs { this.elevation = elevation this.interactive = interactive + this.className = className this.onClick = { onClick() } } block() |