|
108 | 108 | #' boxDropdownItem("Link to google", href = "https://www.google.com"), |
109 | 109 | #' boxDropdownItem("item 2", href = "#"), |
110 | 110 | #' dropdownDivider(), |
111 | | -#' boxDropdownItem("item 3", href = "#", icon = icon("th")) |
| 111 | +#' boxDropdownItem("item 3", href = "#", icon = icon("table-cells")) |
112 | 112 | #' ), |
113 | 113 | #' sidebar = boxSidebar( |
114 | 114 | #' startOpen = TRUE, |
@@ -327,7 +327,7 @@ bs4CardLabel <- function(text, status, tooltip = NULL) { |
327 | 327 | #' @family boxWidgets |
328 | 328 | #' @export |
329 | 329 | bs4CardSidebar <- function(..., id = NULL, width = 50, background = "#333a40", |
330 | | - startOpen = FALSE, icon = shiny::icon("cogs"), |
| 330 | + startOpen = FALSE, icon = shiny::icon("gears"), |
331 | 331 | easyClose = TRUE) { |
332 | 332 |
|
333 | 333 | stopifnot(width >= 25 && width <= 100) |
@@ -709,13 +709,13 @@ dropdownDivider <- function() { |
709 | 709 | #' value = 150, |
710 | 710 | #' subtitle = "New orders", |
711 | 711 | #' color = "primary", |
712 | | -#' icon = icon("shopping-cart") |
| 712 | +#' icon = icon("cart-shopping") |
713 | 713 | #' ), |
714 | 714 | #' valueBox( |
715 | 715 | #' value = "53%", |
716 | 716 | #' subtitle = "New orders", |
717 | 717 | #' color = "indigo", |
718 | | -#' icon = icon("cogs"), |
| 718 | +#' icon = icon("gears"), |
719 | 719 | #' footer = div("Hello World") |
720 | 720 | #' ), |
721 | 721 | #' valueBox( |
@@ -799,7 +799,7 @@ bs4ValueBox <- function(value, subtitle, icon = NULL, color = NULL, width = 3, |
799 | 799 | target = "_blank", |
800 | 800 | class = "small-box-footer", |
801 | 801 | "More info", |
802 | | - shiny::icon("arrow-circle-right") |
| 802 | + shiny::icon("circle-arrow-right") |
803 | 803 | ) |
804 | 804 | } else { |
805 | 805 | shiny::tags$div(class = "small-box-footer", style = "height: 30px;") |
@@ -931,7 +931,7 @@ bs4ValueBox <- function(value, subtitle, icon = NULL, color = NULL, width = 3, |
931 | 931 | #' ) |
932 | 932 | #' } |
933 | 933 | #' @export |
934 | | -bs4InfoBox <- function(title, value = NULL, subtitle = NULL, icon = shiny::icon("bar-chart"), |
| 934 | +bs4InfoBox <- function(title, value = NULL, subtitle = NULL, icon = shiny::icon("chart-bar"), |
935 | 935 | color = NULL, width = 4, href = NULL, fill = FALSE, gradient = FALSE, |
936 | 936 | elevation = NULL, iconElevation = NULL, tabName = NULL) { |
937 | 937 |
|
|
0 commit comments