diff --git a/R/init.R b/R/init.R index 346dda1b70..4c46a00c0e 100644 --- a/R/init.R +++ b/R/init.R @@ -102,10 +102,10 @@ #' ), #' header = tags$h1("Sample App"), #' footer = tags$p("Copyright 2017 - 2023"), -#' extra_server = teal.modules.general::tm_landing_popup( +#' extra_server = teal.modules.general::landing_popup( #' title = "Welcome", #' text = "A place for a welcome message or a disclaimer statement.", -#' button = "Proceed" +#' button = modalButton("Proceed") #' ) #' ) #' if (interactive()) { diff --git a/man/init.Rd b/man/init.Rd index e14cda6540..0d4df7a818 100644 --- a/man/init.Rd +++ b/man/init.Rd @@ -117,10 +117,10 @@ app <- init( ), header = tags$h1("Sample App"), footer = tags$p("Copyright 2017 - 2023"), - extra_server = teal.modules.general::tm_landing_popup( + extra_server = teal.modules.general::landing_popup( title = "Welcome", text = "A place for a welcome message or a disclaimer statement.", - button = "Proceed" + button = modalButton("Proceed") ) ) if (interactive()) {