kjsuikit/src/jsMain/kotlin/dev/inmo/jsuikit/elements/Notification.kt

14 lines
449 B
Kotlin
Raw Normal View History

2022-02-28 17:55:09 +00:00
package dev.inmo.jsuikit.elements
import dev.inmo.jsuikit.modifiers.UIKit
import dev.inmo.jsuikit.types.*
2022-02-28 17:55:09 +00:00
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)