Build an argon column

argonColumn(..., width = NULL, center = FALSE, offset = NULL)

Arguments

...

Any UI element.

width

Optional. Column width between 1 and 12.

center

Whether to center column elements or not. FALSE by default.

offset

Column offset. NULL by default. Importantly, offset + width cannot exceed 12!

Author

David Granjon, dgranjon@ymail.com

Examples

if (interactive()) {
 library(argonR)
 argonColumn(
  width = 4,
  argonAlert(
    icon = "basket",
    status = "danger",
    "This is an alert",
    closable = TRUE
  )
 )
}