From 5d055d74eb492b31cd3687e6238e03b3c93b4dd6 Mon Sep 17 00:00:00 2001 From: David Walsh Date: Fri, 21 Jul 2023 13:13:47 -0500 Subject: [PATCH] Switch from boxProps to props --- .../ui/currency-display/currency-display.component.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ui/components/ui/currency-display/currency-display.component.js b/ui/components/ui/currency-display/currency-display.component.js index 0a68d7c2a610..26a80b45dd67 100644 --- a/ui/components/ui/currency-display/currency-display.component.js +++ b/ui/components/ui/currency-display/currency-display.component.js @@ -28,7 +28,7 @@ export default function CurrencyDisplay({ prefixComponentWrapperProps = {}, textProps = {}, suffixProps = {}, - boxProps = {}, + ...props }) { const [title, parts] = useCurrencyDisplay(value, { displayValue, @@ -49,7 +49,7 @@ export default function CurrencyDisplay({ display={Display.Flex} alignItems={AlignItems.center} flexWrap={FlexWrap.Wrap} - {...boxProps} + {...props} > {prefixComponent ? (