Skip to content

Commit

Permalink
downloadBttn: bug arg icon
Browse files Browse the repository at this point in the history
  • Loading branch information
pvictor committed Jan 6, 2022
1 parent cf3ba12 commit f94a590
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion R/actionBttn.R
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ downloadBttn <- function(outputId,
size = "md",
block = FALSE,
no_outline = TRUE,
icon = icon("download")) {
icon = shiny::icon("download")) {
bttn <- actionBttn(
inputId = paste0(outputId, "_bttn"),
label = tagList(
Expand Down
3 changes: 2 additions & 1 deletion examples/downloadBttn.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ ui <- fluidPage(
downloadBttn(
outputId = "downloadData2",
style = "simple",
color = "primary"
color = "primary",
icon = icon("file-pdf")
),
tags$br(), tags$br(),
downloadBttn(
Expand Down
2 changes: 1 addition & 1 deletion man/downloadBttn.Rd

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

0 comments on commit f94a590

Please sign in to comment.