Nothing
# Generated by tools/generate_components.R. Do not edit by hand.
# nolint start: object_usage_linter.
#' Create a `wa-divider` component
#'
#' Generated wrapper for the Web Awesome `wa-divider` component.
#' Generated from Web Awesome metadata.
#'
#' @param ... Child content for the component's default slot.
#' @param id Optional DOM id attribute for HTML, CSS, and JS targeting.
#' @param class Optional CSS class string.
#' @param style Optional inline CSS style string.
#' @param dir String. Optional Web Awesome attribute.
#' @param lang String. Optional Web Awesome attribute.
#' @param orientation Enumerated string. Allowed values: `horizontal`,
#' `vertical`. Default: `horizontal`. Sets the divider's orientation.
#'
#' @section Shiny Bindings:
#' None.
#'
#' @return An HTML tag for the component.
#'
#' @export
wa_divider <- function(
...,
id = NULL,
class = NULL,
style = NULL,
dir = NULL,
lang = NULL,
orientation = NULL
) {
children <- list(...)
if (!is.null(orientation)) {
orientation <- .wa_match_arg(
orientation,
"orientation",
c(
"horizontal",
"vertical"
)
)
}
attrs <- .wa_normalize_attrs(
list(
"id" = id,
"class" = class,
"style" = style,
"dir" = dir,
"lang" = lang,
"orientation" = orientation
),
boolean_names = character(),
boolean_arg_names = NULL
)
do.call(
.wa_component,
c(
list("wa-divider", .attrs = attrs),
children
)
)
}
# nolint end
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.