Description Usage Arguments Author(s) Examples
Build an argon alert
1 | argonAlert(..., icon = NULL, status = "default", closable = TRUE)
|
... |
Alert content. |
icon |
Alert icon. Expect argonIcon or 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. |
David Granjon, dgranjon@ymail.com
1 2 3 4 5 6 7 8 9 | if (interactive()) {
library(argonR)
argonAlert(
icon = argonIcon("basket"),
status = "danger",
"This is an alert",
closable = TRUE
)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.