R/bulma-footer.R

Defines functions bulma_footer

Documented in bulma_footer

#' @title
#' Bulma Footer
#'
#' @description
#' A simple responsive footer which can include anything: lists, headings,
#' columns, icons, buttons, etc.
#'
#' [Footer](https://bulma.io/documentation/layout/footer/).
#'
#' @param ... (tag) footer content
#' @param tag (fun) tag function for the footer
#'
#' @family Bulma Layouts
#' @export
bulma_footer <- function(..., tag = tags$footer) {

  assert_function(tag)

  tag(class = "footer", ...) %>%
    add_class("bulma_footer")

}
tjpalanca/bulma.R documentation built on Dec. 23, 2021, 10:58 a.m.