This function generates a download action button that triggers the download of a file when clicked.
downloadActionButton(
outputId,
label = "Download",
icon = NULL,
width = NULL,
status = NULL,
outline = FALSE,
...
)
Returns a download action button with the specified parameters.
The output ID for the button.
The label text displayed on the button. Default is "Download".
The icon to be displayed on the button. Default is NULL.
The width of the button. Default is NULL.
The status of the button. Default is NULL.
Logical indicating whether to use outline style for the button. Default is FALSE.
Additional parameters to be passed to the actionButton function.