Learn R Programming

argonR (version 0.2.0)

argonAlert: Create a Boostrap 4 argon alert

Description

Build an argon alert

Usage

argonAlert(..., icon = NULL, status = "default", closable = TRUE)

Arguments

...

Alert content.

icon

Alert icon. Expect argonIcon or icon.

closable

Whether to make the alert closable or not. TRUE by default.

Examples

Run this code
# NOT RUN {
if (interactive()) {
 library(argonR)
 argonAlert(
  icon = argonIcon("basket"),
  status = "danger",
  "This is an alert",
  closable = TRUE
 )
}


# }

Run the code above in your browser using DataLab