Skip to content

Commit

Permalink
Switch from boxProps to props
Browse files Browse the repository at this point in the history
  • Loading branch information
darkwing committed Jul 21, 2023
1 parent dc2497a commit 5d055d7
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function CurrencyDisplay({
prefixComponentWrapperProps = {},
textProps = {},
suffixProps = {},
boxProps = {},
...props
}) {
const [title, parts] = useCurrencyDisplay(value, {
displayValue,
Expand All @@ -49,7 +49,7 @@ export default function CurrencyDisplay({
display={Display.Flex}
alignItems={AlignItems.center}
flexWrap={FlexWrap.Wrap}
{...boxProps}
{...props}
>
{prefixComponent ? (
<Box
Expand Down Expand Up @@ -106,5 +106,4 @@ CurrencyDisplay.propTypes = {
prefixComponentWrapperProps: PropTypes.object,
textProps: PropTypes.object,
suffixProps: PropTypes.object,
boxProps: PropTypes.object,
};

0 comments on commit 5d055d7

Please sign in to comment.