Creates a full-width container for one or more buttons. The horizontal space will be evenly divided among any buttons that are added.
miniButtonBlock(..., border = "top")One or more shiny::actionButton() or
shiny::downloadButton() objects.
Zero or more of c("top", "bottom"), indicating which
sides should have borders, if any.
When using miniButtonBlock with a miniTabstripPanel, consider
passing the miniButtonBlock to miniTabstripPanel as the
between argument.
For more information, see the Designing Gadget UI article on shiny.rstudio.com.
library(shiny)
miniButtonBlock(
actionButton("reset", "Reset to defaults"),
actionButton("clear", "Clear all")
)
#> <div class="gadget-block-button gadget-block-button-top">
#> <button id="reset" type="button" class="btn btn-default action-button">Reset to defaults</button>
#> <button id="clear" type="button" class="btn btn-default action-button">Clear all</button>
#> </div>