-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stacking fontawesome icons in the menuItem #110
Comments
Hi @danwwilson ,
As they & you write the icon must be inside
to produce Source: shinydashboard/R/dashboardHeader.R Line 121 in 2286c18
|
add news and update descripition.
My approach to stacking was to circumvent the missing icons from FontAwesome V4.2. However it would be great if it was possible to stack icons against the |
Could you maybe provide some example, please? Thank you! |
add news and update descripition.
When attempting to stack icons in the
menuItem
I encounter the error "Error: Expected tag to be of type i"Code used is:
menuItem("test stack", tabName = "t_donorTrends", icon = span(class="fa-user fa-plus", icon("user", "fa-stack-1x"), icon("ban", "fa-stack-2x")))
I presume that this is because the
icon =
expects to seeicon = icon(...)
rather than aspan()
. Unfortunately if I ditch theicon = ...
it doesn't apply an icon to mymenuItem
Any thoughts how we can bring this useful feature to shinydashboard?
The text was updated successfully, but these errors were encountered: