diff --git a/packages/sage-react/lib/Dropdown/DropdownItem.jsx b/packages/sage-react/lib/Dropdown/DropdownItem.jsx index 4564715f7f..55b39d7cc7 100644 --- a/packages/sage-react/lib/Dropdown/DropdownItem.jsx +++ b/packages/sage-react/lib/Dropdown/DropdownItem.jsx @@ -4,7 +4,7 @@ import classnames from 'classnames'; import { Checkbox } from '../Toggle'; import { Link } from '../Link'; import { Tooltip } from '../Tooltip'; -import { SageTokens } from '../configs'; +import { SageTokens, SageClassnames } from '../configs'; import { OptionsDropdown } from './OptionsDropdown'; import { DROPDOWN_ITEM_COLORS } from './configs'; @@ -117,9 +117,12 @@ export const DropdownItem = ({ value={label} {...rest} /> - - {label} - + <> + {icon && ()} + + {label} + + ); } @@ -138,9 +141,12 @@ export const DropdownItem = ({ {...rest} > {(!customComponent && isLabelVisible) && ( - - {label} - + <> + {icon && ()} + + {label} + + )} {customComponent && } @@ -157,9 +163,12 @@ export const DropdownItem = ({ {...rest} > {(!customComponent && isLabelVisible) && ( - - {label} - + <> + {icon && ()} + + {label} + + )} {customComponent && }