diff --git a/R/cards.R b/R/cards.R index 3d303f2d..3438dac6 100644 --- a/R/cards.R +++ b/R/cards.R @@ -1110,7 +1110,7 @@ bs4InfoBox <- function(title, value = NULL, subtitle = NULL, icon = shiny::icon( #' @author David Granjon, \email{dgranjon@@ymail.com} #' #' @export -bs4TabCard <- function(..., id, selected = NULL, title = NULL, width = 6, +bs4TabCard <- function(..., id = NULL, selected = NULL, title = NULL, width = 6, height = NULL, side = c("left", "right"), type = NULL, footer = NULL, status = NULL, solidHeader = FALSE, background = NULL, collapsible = TRUE, collapsed = FALSE, closable = FALSE, maximizable = FALSE, diff --git a/R/dashboardSidebar.R b/R/dashboardSidebar.R index c187ded9..91198b35 100644 --- a/R/dashboardSidebar.R +++ b/R/dashboardSidebar.R @@ -365,7 +365,7 @@ bs4SidebarMenuItem <- function(text, ..., icon = NULL, badgeLabel = NULL, badgeC if (!is.null(icon)) { tagAssert(icon, type = "i") - icon$attribs$cl <- paste0(icon$attribs$cl, " nav-icon") + icon$attribs$class <- paste0(icon$attribs$class, " nav-icon") } if (!is.null(href) + !is.null(tabName) + (length(subItems) > 0) != 1) {