Add Panel Sections with Color Headers
Panel sections can be grouped by color or context to structure the landing page.
Usage
panel_div(class_type, panel_title, content)
Arguments
- class_type
a object of class character, indicating the contextual state class
- panel_title
a object of class character, indicating the header title
- content
a object of class character, indicating text content
Value
a HTML object to be included in the ui section of a shiny app
Examples
panel_div(class_type = "primary", panel_title = "Directions",
content = "How to use the app")
#> <div class="panel panel-primary">
#> <div class="panel-heading">
#> <h3 class="panel-title">Directions</h3>
#> </div>
#> <div class="panel-body">How to use the app</div>
#> </div>