Creates a br-loading spinner or progress bar.
Usage
br_loading(
size = c("medium", "small", "large"),
progress = NULL,
label = "Carregando"
)Examples
if (interactive()) {
ui <- shiny::fluidPage(
use_govbr(),
shinyGovBRstyle::br_layout(
shinyGovBRstyle::br_loading(),
shinyGovBRstyle::br_loading(progress = 75)
)
)
server <- function(input, output, session) {}
shinyApp(ui = ui, server = server)
}
