#' @export
label <- function(..., variant = c("default", "primary", "success", "info", "warning", "danger")) {
variant <- paste0("label-", match.arg(variant))
tags$span(
class = "label",
class = variant,
...
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.