Skip to content

Commit

Permalink
feat(Dropdown): render selected item rich content
Browse files Browse the repository at this point in the history
  • Loading branch information
emyarod committed Mar 10, 2020
1 parent eacfbf4 commit 9bb6298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/components/Dropdown/Dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ export default class Dropdown extends React.Component {
{itemToElement ? (
<ItemToElement key={itemProps.id} {...item} />
) : (
itemToString(item)
<SelectedItem>{selectedItem}</SelectedItem>
)}
{selectedItem === item && (
<Checkmark16
Expand Down

0 comments on commit 9bb6298

Please sign in to comment.