R/utils.R

Defines functions col_3 col_6 col_9 col_12

#' Column Wrappers.
#' 
#' @name cols
#' 
#' @param ... Passed to \code{shiny_material}.
#' @importFrom shinymaterial material_column
NULL

#' @rdname cols
#' @export
col_3 <- function(...) {
  material_column(width = 3, ...)
}
#' @rdname cols
#' @export
col_6 <- function(...) {
  material_column(width = 6, ...)
}
#' @rdname cols
#' @export
col_9 <- function(...) {
  material_column(width = 9, ...)
}
#' @rdname cols
#' @export
col_12 <- function(...) {
  material_column(width = 12,...)
}
lanceupton/shiny_template documentation built on Jan. 6, 2020, 12:44 a.m.