icon_html: Find a Font Awesome icon in the appropriate html format

Description Usage Arguments Value

View source: R/miscellaneous.R

Description

Find a Font Awesome icon in the appropriate html format

Usage

1
icon_html(icon, type = "css")

Arguments

icon

A character string that matches one or more Font Awesome icon names

type

"css" returns the icon wrapped in span; "class" returns the icon wrapped in i

Value

The first icon match in the specified format


yjunechoe/junebug documentation built on July 9, 2021, 7:12 p.m.