Learn R Programming

nextGenShinyApps (version 2.1)

dashboardBody: Create the body section of the application

Description

Create a simple body containing a header and a content for the main body

Usage

dashboardBody(header, ...)

Value

An HTML of the body of the page

Arguments

header

OPTIONAL. Items to display in the header section (use the titlePanel() function to set this property).

...

The elements to include within the body of the modal

Examples

Run this code

if (interactive()) {
dashboardBody(
  header = titlePanel(
    left = "Sample nextGenShinyApps Title",
    right = shiny::icon("user")
  ),
  "obi's preferred main body"
)
}

Run the code above in your browser using DataLab