powered by
This function makes it a little easier to make Bootstrap-friendly panels; it wraps the [htmltools::tags()] function for panels
bs_panel(id = NULL, panel_type = c("default", "primary", "success", "info", "warning", "danger"), heading = NULL, body = NULL, ..., footer = NULL)
character, unique identifier
character, one of the standard Bootstrap types
character (HTML) or [htmltools::tagList()], content for the heading
character (HTML) or [htmltools::tagList()], content for the body
character (HTML) or [htmltools::tagList()], other content
character (HTML) or [htmltools::tagList()], content for the footer
[htmltools::tag()], `<button/>`
http://getbootstrap.com/css/#panels
# NOT RUN { library("htmltools") bs_panel( panel_type = "primary", heading = tags$h3("title"), body = tags$p("Some very important content") ) # }
Run the code above in your browser using DataLab