argonAlert: Create a Boostrap 4 argon alert

Description Usage Arguments Author(s) Examples

View source: R/argonAlert.R

Description

Build an argon alert

Usage

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

Arguments

...

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.

Author(s)

David Granjon, dgranjon@ymail.com

Examples

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
 )
}

argonR documentation built on Dec. 1, 2019, 1:15 a.m.