Skip to content

Commit

Permalink
icon("gear") => icon("cogs")
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanxw committed Nov 12, 2021
1 parent 75a34aa commit 0abe127
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions R/dashboardHeader.R
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
#' @export
dashboardHeader <- function(..., title = NULL, titleWidth = NULL,
disable = FALSE, .list = NULL, leftUi = NULL,
controlbarIcon = shiny::icon("gears"), fixed = FALSE) {
controlbarIcon = shiny::icon("cogs"), fixed = FALSE) {
# handle right menu items
items <- c(list(...), .list)
lapply(items, tagAssert, type = "li", class = "dropdown")
Expand Down Expand Up @@ -587,4 +587,4 @@ messageItem <- function (from, message, icon = shiny::icon("user"), time = NULL,
shiny::tags$small(shiny::icon("clock-o"), time)), shiny::p(message)
)
)
}
}
6 changes: 3 additions & 3 deletions R/useful-items.R
Original file line number Diff line number Diff line change
Expand Up @@ -1461,7 +1461,7 @@ starBlock <- function(value, max = 5, color = "yellow") {
#' timelineLabel(2018, color = "teal"),
#' timelineItem(
#' title = "Item 1",
#' icon = icon("gears"),
#' icon = icon("cogs"),
#' color = "olive",
#' time = "now",
#' footer = "Here is the footer",
Expand Down Expand Up @@ -1489,7 +1489,7 @@ starBlock <- function(value, max = 5, color = "yellow") {
#' timelineLabel(2018, color = "teal"),
#' timelineItem(
#' title = "Item 1",
#' icon = icon("gears"),
#' icon = icon("cogs"),
#' color = "olive",
#' time = "now",
#' footer = "Here is the footer",
Expand Down Expand Up @@ -2458,4 +2458,4 @@ updateUserMessages <- function(id, action = c("add", "remove", "update"),
body = content
)
)
}
}
6 changes: 3 additions & 3 deletions inst/examples/box_elements/timeline.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ timeline1 <- 'box(
timelineLabel(2018, color = "teal"),
timelineItem(
title = "Item 1",
icon = icon("gears"),
icon = icon("cogs"),
color = "olive",
time = "now",
footer = "Here is the footer",
Expand Down Expand Up @@ -38,7 +38,7 @@ timeline2 <- 'timelineBlock(
timelineLabel(2018, color = "teal"),
timelineItem(
title = "Item 1",
icon = icon("gears"),
icon = icon("cogs"),
color = "olive",
time = "now",
footer = "Here is the footer",
Expand All @@ -57,4 +57,4 @@ timeline2 <- 'timelineBlock(
timelineItemMedia(image = "https://placehold.it/150x100")
),
timelineStart(color = "purple")
)'
)'
2 changes: 1 addition & 1 deletion man/dashboardHeader.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/timeline.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0abe127

Please sign in to comment.