diff --git a/man/fragments/ex-navset_tab.Rmd b/man/fragments/ex-navset_tab.Rmd index 98eda926c..9d305bde9 100644 --- a/man/fragments/ex-navset_tab.Rmd +++ b/man/fragments/ex-navset_tab.Rmd @@ -186,13 +186,15 @@ navset_pill_list( Finally, `page_navbar()` provides full-page navigation container similar to `navset_underline()` but where each `nav_panel()` is treated as a full page of content and the navigation controls appear in a top-level navigation bar. -Note also that the underline styling can be removed via the `underline` argument. +Note also that the navbar background and underline styling can be controlled via `navbar_options`. ```{r page_navbar, fig.width=10} page_navbar( title = "My App", - bg = "#0062cc", - underline = TRUE, + navbar_options = navbar_options( + bg = "#0062cc", + underline = TRUE + ), nav_panel(title = "One", p("First tab content.")), nav_panel(title = "Two", p("Second tab content.")), nav_panel(title = "Three", p("Third tab content")), diff --git a/man/navset.Rd b/man/navset.Rd index 0ecbe1d2a..66e658d8a 100644 --- a/man/navset.Rd +++ b/man/navset.Rd @@ -365,12 +365,14 @@ adjacent to, rather than on top of, the tab content panels. Finally, \code{page_navbar()} provides full-page navigation container similar to \code{navset_underline()} but where each \code{nav_panel()} is treated as a full page of content and the navigation controls appear in a top-level navigation bar. -Note also that the underline styling can be removed via the \code{underline} argument. +Note also that the navbar background and underline styling can be controlled via \code{navbar_options}. \if{html}{\out{
}}\preformatted{page_navbar( title = "My App", - bg = "#0062cc", - underline = TRUE, + navbar_options = navbar_options( + bg = "#0062cc", + underline = TRUE + ), nav_panel(title = "One", p("First tab content.")), nav_panel(title = "Two", p("Second tab content.")), nav_panel(title = "Three", p("Third tab content")),