How to add a box around an icon #813
-
Is it possible to add a box around the "ChevronExpand" icon as shown in the attached image? If yes, can you please help me with some example code? |
Beta Was this translation helpful? Give feedback.
Answered by
richbachman
Oct 1, 2020
Replies: 1 comment 3 replies
-
Hi @pradyuk The box should be using a The
Let us know if that's helpful. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
pradyuk
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @pradyuk
The box should be using a
Menu
component. This might be a good place to start: https://paste.twilio.design/components/menu#choosing-a-menu-triggerThe
MenuButton
is basically a wrapper around ourButton
component. Although not fully documented, we do have a variant namedinverse
for button. So you'reMenuButton
code might look something like this:Let us know if that's helpful.