dashboardBody: Create the body section of the application

View source: R/body.R

dashboardBodyR Documentation

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, ...)

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

Value

An HTML of the body of the page

Note

Endeavor to use as standalone and not within the fluidPage, as this function it already called within fluidPage

Examples


if (interactive()) {
dashboardBody(
  header = titlePanel(
    left = "Sample nextGenShinyApps Title",
    right = shiny::icon("user")
  ),
  "sample text for main body"
)
}


nextGenShinyApps documentation built on Nov. 12, 2023, 5:06 p.m.