AnalytixWare / ShinySky

Various UI widgets/components not part of Shiny e.g. alerts, styled buttons
Other
186 stars 65 forks source link

Action Button with FontAwesome Icons #24

Open dfan opened 8 years ago

dfan commented 8 years ago

When declaring a default action button (without the Shiny Sky package), one can add a Font Awesome icon in the following manner: actionButton("action", "Go!", width = "100%", icon("paper-plane"))

However with the Shiny Sky library, the icon disappears

oganm commented 6 years ago

this happens because shinysky exports its own actionButton which masks shiny's action Button and causes unexpected behavior in apps. This can be solved by running

actionButton = shiny::actionButton

after loading shinysky. It is not particularly good behavior that a shiny extension collides with a base shiny function name though. It breaks themes from shinythemes packages for instance

carneirogoulart commented 2 years ago

I had the same issue trying to use the busyIndicator function from the package.

I solved it as follows:

shinysky::busyIndicator() And I didn't need to load shinysky.