R/use_feather_icons.R

Defines functions use_feather_icons

Documented in use_feather_icons

#' Use Feather Icons
#'
#' @return an HTML taglist
#' @export
#'
#' @importFrom htmltools tagList tags includeScript
#'
#' @examples
#' use_feather_icons()

use_feather_icons <- function(){
  tagList(
    includeScript(system.file("feather.js", package = "feathericons")),
    tags$script('$(function() { feather.replace(); });')
  )
}
ColinFay/feathericons documentation built on May 25, 2019, 4:25 p.m.