Skip to contents

Custom notificationItem

Usage

notificationItem(
  text,
  icon = shiny::icon("triangle-exclamation"),
  status = "success",
  href = NULL,
  inputId = NULL
)

Arguments

text

The notification text.

icon

An icon tag, created by icon.

status

The status of the item This determines the item's background color. Valid statuses are listed in validStatuses.

href

An optional URL to link to.

inputId

If not NULL, this item behaves like an action button.