mirror of
https://github.com/johrpan/geposanui.git
synced 2025-10-26 11:17:24 +01:00
results: Add some information labels
This commit is contained in:
parent
d23646e0a9
commit
a3fc56d17e
2 changed files with 59 additions and 16 deletions
16
R/utils.R
16
R/utils.R
|
|
@ -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
|
||||
)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue