diff --git a/components/lib/speeddial/SpeedDial.js b/components/lib/speeddial/SpeedDial.js index 712d81bb36..ade06a17c9 100644 --- a/components/lib/speeddial/SpeedDial.js +++ b/components/lib/speeddial/SpeedDial.js @@ -4,6 +4,8 @@ import { useEventListener, useMountEffect, useUpdateEffect } from '../hooks/Hook import { Ripple } from '../ripple/Ripple'; import { classNames, DomHandler, IconUtils, ObjectUtils } from '../utils/Utils'; import { SpeedDialBase } from './SpeedDialBase'; +import { PlusIcon } from '../icon/plus'; +import { MinusIcon } from '../icon/minus'; export const SpeedDial = React.memo( React.forwardRef((inProps, ref) => { @@ -219,21 +221,9 @@ export const SpeedDial = React.memo( [`${props.showIcon}`]: (!visible && !!props.showIcon) || !props.hideIcon, [`${props.hideIcon}`]: visible && !!props.hideIcon }); - const icon = IconUtils.getJSXIcon(showIconVisible ? props.showIcon : hideIconVisible ? props.hideIcon : null, undefined, { props }); - const content =