This commit is contained in:
Tom Moor
2020-05-20 23:48:37 -07:00
parent 3487eb7857
commit 4ef82d5476
2 changed files with 14 additions and 4 deletions

View File

@ -26,7 +26,11 @@ const DropdownMenuItem = ({
{...rest}
>
{selected !== undefined && (
<CheckmarkIcon color={selected === false ? 'transparent' : undefined} />
<React.Fragment>
<CheckmarkIcon
color={selected === false ? 'transparent' : undefined}
/>&nbsp;
</React.Fragment>
)}
{children}
</MenuItem>