results: Add some information labels

This commit is contained in:
Elias Projahn 2024-02-18 15:11:46 +01:00
parent d23646e0a9
commit a3fc56d17e
2 changed files with 59 additions and 16 deletions

View file

@ -25,4 +25,20 @@ popover <- function(title, help, child) {
)
)
)
}
#' An information label.
#'
#' @param info Information text.
#'
#' @noRd
info <- function(info) {
div(
style = "display: flex; margin: 1rem",
div(
style = "margin-right: 10px",
bsicons::bs_icon("info-circle")
),
info
)
}