When working with react-bootstrap, I encountered a challenge involving a button with a caret that opens a dropdown menu.
https://i.sstatic.net/7cfN3.png
However, my requirement is to replace the button and caret with vertical three dots styled differently.
I tried using a span with a CSS class for the three dots, but struggled to eliminate the button and caret.
This is what I currently have:
<Dropdown>
<Dropdown.Toggle>
<span className="threedots"></span>
</Dropdown.Toggle>
<Dropdown.Menu size="sm" title="">
<Dropdown.Header>Options</Dropdown.Header>
<Dropdown.Item .... ></Dropdown.Item>
</Dropdown.Menu>
</Dropdown>
All I want to display are the three dots (with an added mouse-over effect). Is there a way to achieve this without using a button as a toggle?