upload_ui: Upload button.

View source: R/upload.R

upload_uiR Documentation

Upload button.

Description

The UI component of the Shiny module for creating a pretty upload button for uploading a text file.

Usage

upload_ui(id, label = "Select a text file (< 30MB)")

Arguments

id

String. The input slot that will be used to access the value.

label

String. Text (default = "Select a text file (< 30MB)") to be shown on the upload button.

Value

Must use it together with its counterpart server.

See Also

upload_server for the server.

Examples

inst/examples/ex-upload.R

cabaceo/shinymod documentation built on Sept. 8, 2023, 12:23 p.m.