Render an info box
Usage
renderInfoBox(expr, env = parent.frame(), quoted = FALSE)Examples
if (interactive()) {
shiny::shinyApp(
ui = bslib::page_fluid(infoBoxOutput("system_status")),
server = function(input, output, session) {
output$system_status <- renderInfoBox({
infoBox("CPU", "42%", icon = icon("cpu"), color = "success")
})
}
)
}
