Skip to content

Commit

Permalink
chore: minor doc changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vedhav committed Jan 10, 2025
1 parent 404dbd6 commit aa60c14
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions R/init.R
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ modify_title <- function(
#' )
#'
#' shinyApp(app$ui, app$server)
modify_header <- function(app, header = "test") {
modify_header <- function(app, header = tags$p()) {
res <- app
res$ui <- function(request, ...) {
args <- list(...)
Expand All @@ -342,7 +342,7 @@ modify_header <- function(app, header = "test") {
#' modify_footer("Custom footer")
#'
#' shinyApp(app$ui, app$server)
modify_footer <- function(app, footer = "test") {
modify_footer <- function(app, footer = tags$p()) {
res <- app
res$ui <- function(request, ...) {
args <- list(...)
Expand Down
6 changes: 3 additions & 3 deletions man/init.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/modify_footer.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/modify_header.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit aa60c14

Please sign in to comment.