Learn R Programming

argonR (version 0.2.0)

argonColumn: Create a Boostrap 4 column

Description

Build an argon column

Usage

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!

Examples

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


# }

Run the code above in your browser using DataLab