Looking for a way to customize the dropdown caret in a semantic-ui-react component? Here's how it currently appears:
https://i.sstatic.net/GpvfC.png
<Dropdown
className="hello-dropdown"
placeholder="Comapany"
onChange={this.someFunction}
options={someOptions}
/>
CSS styling:
div.hello-dropdown {
background: linear-gradient(180deg, #FCFCFC 0%, #F5F6F7 100%) !important;
border-radius: 4px !important;
margin-right: 20px;
border: 1px solid #e8e8e8 !important;
}
If you inspect the caret, you'll see the following code:
<i aria-hidden="true" class="dropdown icon"></i>
Interested in replacing the caret with a custom SVG image like this one: ?