ButtonGroup {shiny.blueprint} | R Documentation |
Button group
Description
Documentation: https://blueprintjs.com/docs/#core/components/button-group
Usage
ButtonGroup(...)
Arguments
... |
Component props and children. See the official Blueprint docs for details. |
Value
Object with shiny.tag
class suitable for use in the UI of a Shiny app.
Examples
library(shiny.blueprint)
library(shiny)
ui <- function(id) {
ButtonGroup(
Button(icon = "database", "Queries"),
Button(icon = "function", "Functions"),
AnchorButton(rightIcon = "caret-down", "Options")
)
}
server <- function(id) {
moduleServer(id, function(input, output, session) {})
}
if (interactive()) shinyApp(ui("app"), function(input, output) server("app"))
[Package shiny.blueprint version 0.3.0 Index]