View source: R/utils_helpers.R
qpr_infobox | R Documentation |
Function to render infobox from default template for QPR tabitems
qpr_infobox(
.data,
.replace = FALSE,
title = "Average Score",
color = "purple",
value = .data$AvgScore,
icon = shiny::icon("shopping-cart"),
subtitle = "See table below for detail.",
...
)
.data |
|
.replace |
|
title |
Info box title. |
color |
A color for the box. Valid colors are defined as follows:
|
value |
The value to display in the box. Usually a number or short text. |
icon |
An icon tag, created by |
subtitle |
Any extra UI element. |
... |
Arguments passed on to
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.