Skip to content

Commit

Permalink
docs: combine CommandBar docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Sobolewski committed Sep 12, 2023
1 parent a08a3bb commit 76d175b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 35 deletions.
12 changes: 3 additions & 9 deletions R/extensions.R
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,10 @@ CommandBarItem <- function(

#' CommandBar.shinyInput
#'
#' CommandBar extension that sends values of clicked CommandBarItems
#' @param inputId ID of the component. Value of the clicked CommandBarItem will be sent to this ID.
#' @param itemValueGetter A function that takes a CommandBarItem and returns a value to be sent to Shiny. By default it returns `key` of the item.
#' @rdname CommandBar
#'
#' @param inputId Input name
#' @param ... Arguments passed to CommandBar.
#' @param itemValueGetter A function that takes a CommandBarItem and returns a value to be sent to Shiny.
#' By default it returns `key` of the item.
#' @return A CommandBar component.
#'
#' @seealso CommandBarItem
# #' @rdname CommandBar
#' @export
CommandBar.shinyInput <- function(
inputId,
Expand Down
10 changes: 9 additions & 1 deletion man/CommandBar.Rd

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

25 changes: 0 additions & 25 deletions man/CommandBar.shinyInput.Rd

This file was deleted.

0 comments on commit 76d175b

Please sign in to comment.