R/dashboardBody.R

Defines functions dashboardBody

Documented in dashboardBody

#' The main body of a dashboard page.
#'
#' The main body typically contains \code{\link{box}}es. Another common use
#' pattern is for the main body to contain \code{\link{tabItems}}.
#'
#' @param ... Items to put in the dashboard body.
#'
#' @seealso \code{\link{tabItems}}, \code{\link{box}}, \code{\link{valueBox}}.
#'
#' @export
dashboardBody <- function(...) {
  div(class = "content-wrapper",
    tags$section(class = "content",
      ...
    )
  )
}

Try the shinydashboard package in your browser

Any scripts or data that you put into this service are public.

shinydashboard documentation built on Sept. 30, 2021, 5:09 p.m.