Creates a br-step progress indicator.
input$<inputId> returns the index (1-based) of the last clicked
(or initial) step.
Examples
if (interactive()) {
ui <- shiny::fluidPage(
use_govbr(),
shinyGovBRstyle::br_layout(
shinyGovBRstyle::br_step(
"etapas", c("Identifica\u00e7\u00e3o", "Dados", "Confirma\u00e7\u00e3o")
),
shiny::verbatimTextOutput("valor")
)
)
server <- function(input, output, session) {
output$valor <- shiny::renderPrint(input$etapas)
}
shinyApp(ui = ui, server = server)
}
