release: WRNexusJS 0.6.0
This commit is contained in:
@@ -1,29 +1,31 @@
|
||||
component AnnouncementBar {
|
||||
props {
|
||||
@event dismiss = function
|
||||
|
||||
badge = ""
|
||||
badgeIcon = ""
|
||||
message = "Announcement"
|
||||
description = ""
|
||||
icon = "icon-[lucide--megaphone]"
|
||||
actionLabel = ""
|
||||
actionHref = ""
|
||||
actionIcon = ""
|
||||
dismissible = false
|
||||
dismissLabel = "Dismiss announcement"
|
||||
sticky = false
|
||||
compact = false
|
||||
size = "default"
|
||||
width = "default"
|
||||
color = "primary"
|
||||
variant = "soft"
|
||||
role = "status"
|
||||
live = "polite"
|
||||
class = ""
|
||||
outputs {
|
||||
dismiss(payload: { sourceEvent?: Event; [key: string]: string | number | boolean | null | object })
|
||||
}
|
||||
|
||||
state dismissed = false
|
||||
props {
|
||||
badge: string = ""
|
||||
badgeIcon: string = ""
|
||||
message: string = "Announcement"
|
||||
description: string = ""
|
||||
icon: string = "icon-[lucide--megaphone]"
|
||||
actionLabel: string = ""
|
||||
actionHref: string = ""
|
||||
actionIcon: string = ""
|
||||
dismissible: boolean = false
|
||||
dismissLabel: string = "Dismiss announcement"
|
||||
sticky: boolean = false
|
||||
compact: boolean = false
|
||||
size: string = "default"
|
||||
width: string = "default"
|
||||
color: string = "primary"
|
||||
variant: string = "soft"
|
||||
role: string = "status"
|
||||
live: string = "polite"
|
||||
class: string = ""
|
||||
}
|
||||
|
||||
state dismissed: boolean = false
|
||||
|
||||
view {
|
||||
<aside
|
||||
|
||||
Reference in New Issue
Block a user