#' Q List Item
#'
#' Helper to create shiny.mui list items with primary and secondary text
#'
#' @param ... argumens to pass to shiny.quartz ListItem
#' @param primary primary text
#' @param secondary secondary text
#'
#' @seealso [shiny.mui::List()]
#' @export
#' @importFrom shiny.mui List ListItem ListItemText
#' @example inst/examples/QListItem.R
QListItem <- function(primary, ..., secondary = "") {
ListItem(
...,
ListItemText(primary = primary, secondary = secondary)
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.