From 8e579c5014d9d3f7f688a1e8a2a402386f206028 Mon Sep 17 00:00:00 2001 From: melloware Date: Fri, 28 Apr 2023 14:26:14 -0400 Subject: [PATCH] Fix #4305: SpeedDialog buttonTemplate restored --- components/lib/speeddial/SpeedDial.js | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/components/lib/speeddial/SpeedDial.js b/components/lib/speeddial/SpeedDial.js index c75d449f6e..9cccaab9b6 100644 --- a/components/lib/speeddial/SpeedDial.js +++ b/components/lib/speeddial/SpeedDial.js @@ -1,11 +1,11 @@ import * as React from 'react'; import { Button } from '../button/Button'; import { useEventListener, useMountEffect, useUpdateEffect } from '../hooks/Hooks'; +import { MinusIcon } from '../icons/minus'; +import { PlusIcon } from '../icons/plus'; import { Ripple } from '../ripple/Ripple'; -import { classNames, DomHandler, IconUtils, ObjectUtils } from '../utils/Utils'; +import { DomHandler, IconUtils, ObjectUtils, classNames } from '../utils/Utils'; import { SpeedDialBase } from './SpeedDialBase'; -import { PlusIcon } from '../icons/plus'; -import { MinusIcon } from '../icons/minus'; export const SpeedDial = React.memo( React.forwardRef((inProps, ref) => { @@ -225,6 +225,19 @@ export const SpeedDial = React.memo( const toggleIcon = IconUtils.getJSXIcon(icon, { className: iconClassName }, { props, visible }); const content =