add_badge: Create a BS5 badge

View source: R/add_badge.R

add_badgeR Documentation

Create a BS5 badge

Description

Create a BS5 badge

Usage

add_badge(color = "default", text = NULL, class = NULL, pill = FALSE)

Arguments

color

Badge color

text

Badge text

class

Badge additional class

pill

pill badge ? (TRUE or FALSE)

Value

a BS5 badge

Examples

add_badge(
color ="transparent",
text = "25+",
class = "border border-danger text-danger",
pill = TRUE)

mhanf/addonbs5 documentation built on April 23, 2022, 4:01 p.m.