icon: Override shiny icon function

Description Usage Arguments Value Examples

Description

This and the apputils::valueBox functions override functions in the shiny and shinydashboard packages to provide the ability to display image file icons in value boxes.

Usage

1
icon(name, class = NULL, lib = "font-awesome")

Arguments

name

character. If lib="local", name must be a named list with src element.

class

character.

lib

library, may be 'local'.

Value

an icon tag.

Examples

1
#not run

leonawicz/apputils documentation built on May 13, 2019, 1:38 a.m.