argonAlert {argonR} | R Documentation |
Create a Boostrap 4 argon alert
Description
Build an argon alert
Usage
argonAlert(..., icon = NULL, status = "default", closable = TRUE)
Arguments
... |
Alert content. |
icon |
|
status |
Alert status. See https://demos.creative-tim.com/argon-design-system/docs/components/alerts.html. |
closable |
Whether to make the alert closable or not. TRUE by default. |
Author(s)
David Granjon, dgranjon@ymail.com
Examples
if (interactive()) {
library(argonR)
argonAlert(
icon = argonIcon("basket"),
status = "danger",
"This is an alert",
closable = TRUE
)
}
[Package argonR version 0.2.0 Index]