R/use_iceComponents.R

Defines functions use_iceComponents

Documented in use_iceComponents

#' use_iceComponents
#'
#' Client-side function for initiating package resources
#'
#' @examples
#' if(interactive()) {
#'   library(shiny)
#'   ui <- tagList(
#'     use_iceComponents(),
#'     tags$main(
#'       tags$h2("Hello, world!")
#'     )
#'   )
#'   server <- function(input, output) {}
#'   shinyApp(ui, server)
#' }
#' @export
use_iceComponents <- function() {
    htmltools::htmlDependency(
        version = "0.1.0",
        name = "iceComponents",
        src = "iceComponents/public/",
        package = "iceComponents",
        stylesheet = "iceComponents.min.css",
        script = "iceComponents.min.js",
        all_files = FALSE
    )
}
InControlofEffects/iceComponents documentation built on April 1, 2021, 5:51 a.m.