#' Full page
#'
#' Full page component, takes the entirety of the screen.
#'
#' @param .class Additional class to pass to parent
#' `<div>`.
#' @param ... Content of the page.
#'
#' @importFrom htmltools div
#'
#' @export
fullPage <- function(
...,
.class = ""
) {
class <- sprintf(
"big-full-page w-100 p-4 %s",
.class
)
div(
class = class,
...
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.