Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix docs for submitButton

  • Loading branch information...
commit a57e037b0508fdb449c4e43720f63e95f2703e18 1 parent 8546918
@wch wch authored
Showing with 5 additions and 0 deletions.
  1. +2 −0  R/input-submit.R
  2. +3 −0  man/submitButton.Rd
View
2  R/input-submit.R
@@ -6,6 +6,8 @@
#'
#' @param text Button caption
#' @param icon Optional \code{\link{icon}} to appear on the button
+#' @param width The width of the button, e.g. \code{'400px'}, or \code{'100\%'};
+#' see \code{\link{validateCssUnit}}.
#' @return A submit button that can be added to a UI definition.
#'
#' @family input elements
View
3  man/submitButton.Rd
@@ -10,6 +10,9 @@ submitButton(text = "Apply Changes", icon = NULL, width = NULL)
\item{text}{Button caption}
\item{icon}{Optional \code{\link{icon}} to appear on the button}
+
+\item{width}{The width of the button, e.g. \code{'400px'}, or \code{'100\%'};
+see \code{\link{validateCssUnit}}.}
}
\value{
A submit button that can be added to a UI definition.
Please sign in to comment.
Something went wrong with that request. Please try again.