Not able to use icon in place of text in MenuTrigger
Lekhrajk opened this issue · 2 comments
Lekhrajk commented
I want to use Icon in place of Text for triggering the menu but I didn't find a way to use it !.
Is there any way to use icons/image in place of normal text
kfiggins commented
Hey @Lekhrajk
I'm guessing you are using the "text" property on the MenuTrigger. Try passing your icon in as a child to the MenuTrigger component. See below for a simple example.
<MenuTrigger> <FontAwesome name={"filter"} /> </MenuTrigger>
sodik82 commented