You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
navset_card_tab() creates a tabbed card, but doesn't include all of the arguments of card(). In particular, you cannot give the card a class without reaching for htmltools::tagAppendAttributes().
library(bslib)
navset_card_tab(
class="bg-text-primary",
nav_panel("One", "First panel")
)
#> Error in buildTabset(..., ulClass = paste0("nav nav-", type), id = id, : Tabs should all be unnamed arguments, but some are named: class
(Not that .text-bg-primary would look great on a navset_card_tab(), adding the class reveals other styling issues. That said, it should at least be possible.)
The text was updated successfully, but these errors were encountered:
navset_card_tab()
creates a tabbed card, but doesn't include all of the arguments ofcard()
. In particular, you cannot give the card a class without reaching forhtmltools::tagAppendAttributes()
.(Not that
.text-bg-primary
would look great on anavset_card_tab()
, adding the class reveals other styling issues. That said, it should at least be possible.)The text was updated successfully, but these errors were encountered: