Embed an accordion item within an accordion

accordionItem(
  ...,
  title = "A title",
  status = c("default", "primary", "secondary", "info", "success", "danger", "warning"),
  icon = NULL
)

Arguments

...

The elements to include within the body of the particular accordion

title

The title of the accordion item

status

Set the header background using either of "default", "primary", "secondary", "info", "success", "danger", "warning"

icon

Include an icon to the left of the title for the accordion item

Value

A list of properties for an accordion item

Examples

accordionItem( title = "Accordion 2", icon = shiny::icon("cog"), "Auctor neque etiam non." )
#> $title #> [1] "Accordion 2" #> #> $id #> [1] "accordion1a5293" #> #> $status #> [1] "default" #> #> $content #> <div>Auctor neque etiam non.</div> #> #> $icon #>