Skip to contents

Creates an HTML div containing the icon and text.

Usage

icon_text(icon, text)

Arguments

icon

fontawesome icon

text

text

Value

HTML div

Examples

icon_text("table", "Table")
#> <div>
#>   <i class="fas fa-table" role="presentation" aria-label="table icon"></i>
#>    Table
#> </div>