R/paper_badge.R

Defines functions paper_badge

Documented in paper_badge

#' Creates a badges
#'
#' @param text the text that will be displayed inside the badge
#' @param type the type
#'
#' @return
#' @export
#'
#' @examples

paper_badge <- function(text, type = NULL) {

      shiny::tags$span(class = paste("badge", type),
                       text)
}
feddelegrand7/paperrr documentation built on Dec. 20, 2021, 7:48 a.m.