Skip to content
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

fa() should return a htmltools::tag() object #58

Open
cpsievert opened this issue May 11, 2021 · 2 comments · May be fixed by #59
Open

fa() should return a htmltools::tag() object #58

cpsievert opened this issue May 11, 2021 · 2 comments · May be fixed by #59

Comments

@cpsievert
Copy link
Collaborator

cpsievert commented May 11, 2021

Using tag() over HTML() is would make the return value more customizable and more consistent with the return value of fa_i()

@sanjmeh
Copy link

sanjmeh commented Jan 10, 2023

Is this the reason the following code does not (still) work?

 menuItem(text = "Truck Monster",icon = fa(name = "truck-monster",height = "30px"))

@rich-iannone rich-iannone modified the milestones: v0.5.0, v0.6.0 Jan 25, 2023
@sanjmeh
Copy link

sanjmeh commented Jan 29, 2023

I keep getting the followng error unless I remove all icon = fa(..) from my menuItem(...) lines.

Warning: Error in tagAssert: Expected an object with class 'shiny.tag'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment