Skip to content

Commit ed4ad1a

Browse files
committed
docs: Fix missing example in PanelStack docs
1 parent 4bd21f5 commit ed4ad1a

File tree

3 files changed

+92
-7
lines changed

3 files changed

+92
-7
lines changed

R/components.R

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -368,19 +368,19 @@ NonIdealState <- component("NonIdealState")
368368
#' @export
369369
OverflowList <- component("OverflowList")
370370

371-
#' Panel stack (v2)
371+
#' Panel stack
372372
#'
373373
#' Documentation: <https://blueprintjs.com/docs/#core/components/panel-stack2>
374374
#'
375-
#' @example inst/examples/PanelStack2.R
375+
#' @example inst/examples/PanelStack.R
376376
#' @inherit template params
377-
#' @param panels List of lists - each list contains `title` (string) and `content` (HTML)
378-
#' @param ns Namespace of given panel stack (required if there's more than 1 panel stack)
379-
#' @param size Numeric vector of length 2 - `c(width, height)`
380377
#' @export
381378
PanelStack <- component("PanelStack2")
382379

383380
#' @rdname PanelStack
381+
#' @param panels List of lists - each list contains `title` (string) and `content` (HTML)
382+
#' @param ns Namespace of given panel stack (required if there's more than 1 panel stack)
383+
#' @param size Numeric vector of length 2 - `c(width, height)`
384384
#' @export
385385
PanelStack.shinyWrapper <- function(panels, ns = "ps", size = c(300, 250), ...) { # nolint
386386
shiny.react::reactElement(

inst/examples/showcase/app.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ sections <- list(
2424
item("Navbar", "Navbar"),
2525
item("Non-ideal state", "NonIdealState"),
2626
item("Overflow list", "OverflowList"),
27-
item("Panel stack (v2)", "PanelStack"),
27+
item("Panel stack", "PanelStack"),
2828
item("Progress bar", "ProgressBar"),
2929
item("Resize sensor", "ResizeSensor"),
3030
item("Spinner", "Spinner"),

man/PanelStack.Rd

Lines changed: 86 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)