notification_item {semantic.dashboard} | R Documentation |
Create a notification item.
notification_item(text, icon = "warning", color = "")
notificationItem(text, icon = "warning", color = "")
text |
Text of the notification. |
icon |
Additional icon. |
color |
Color of the notification item. One of
|
A notification item that can be passed to dropdownMenu
notificationItem
: Create a notification item (alias for notification_item
for compatibility with shinydashboard
)
notificationItem("This is notification!", color = "red")