I'm using React-semantic-ui dropdown. I can't seem to find how to add a data-attribute to the dropdown options. I'd like to add data-key attribute to the drop-down options and then use those keys later.
I found this resource here but this doesn't help.
<div className="dropdownMenu">
<Dropdown
fluid
search
selection
options={countries}
placeholder="Select Country"
onChange={updateCountry}
defaultValue={selectedCountry}
/>
</div>