mirror of
https://github.com/InsanusMokrassar/JSUIKitKBindings.git
synced 2024-11-15 04:43:50 +00:00
14 lines
449 B
Kotlin
14 lines
449 B
Kotlin
package dev.inmo.jsuikit.elements
|
|
|
|
import dev.inmo.jsuikit.modifiers.UIKit
|
|
import dev.inmo.jsuikit.types.*
|
|
import dev.inmo.jsuikit.utils.Milliseconds
|
|
|
|
fun Notification(
|
|
message: String,
|
|
status: UIKitNotificationParameter.Style? = null,
|
|
timeout: Milliseconds? = null,
|
|
group: NotificationsGroup? = null,
|
|
position: UIKitNotificationParameter.Position? = null
|
|
) = UIKit.notification.invoke(message, status, timeout, group, position)
|