notification_item: Create a notification item.

Description Usage Arguments Value Functions Examples

View source: R/dropdown_menu.R

Description

Create a notification item.

Usage

1
2
3
notification_item(text, icon = "warning", color = "")

notificationItem(text, icon = "warning", color = "")

Arguments

text

Text of the notification.

icon

Additional icon.

color

Color of the notification item. One of c("", "red", "orange", "yellow", "olive", "green", "teal", "blue", "violet", "purple", "pink", "brown", "grey", "black")

Value

A notification item that can be passed to dropdownMenu

Functions

Examples

1
notificationItem("This is notification!", color = "red")

PaskalSunari/semantic.dashboard-develop documentation built on Dec. 18, 2021, 6:41 a.m.