argonBadge: Create a Boostrap 4 badge

Description Usage Arguments Author(s) Examples

View source: R/argonBadge.R

Description

Build an argon badge

Usage

1
argonBadge(text = NULL, src = NULL, pill = FALSE, status = "default")

Arguments

text

Badge text.

src

Badge external link.

pill

Pill mode. FALSE by default.

status

Badge status. See https://demos.creative-tim.com/argon-design-system/docs/components/badge.html.

Author(s)

David Granjon, dgranjon@ymail.com

Examples

1
2
3
4
5
6
7
8
9
if (interactive()) {
 library(argonR)
 argonBadge(
   text = "My badge",
   src = "https://www.google.com",
   pill = FALSE,
   status = "success"
 )
}

argonR documentation built on Dec. 1, 2019, 1:15 a.m.