diff --git a/packages/react/src/Text/Text.tsx b/packages/react/src/Text/Text.tsx index 7bc199f10b8..35c9fea9557 100644 --- a/packages/react/src/Text/Text.tsx +++ b/packages/react/src/Text/Text.tsx @@ -3,6 +3,7 @@ import type React from 'react' import {type ForwardedRef} from 'react' import classes from './Text.module.css' import {fixedForwardRef, type PolymorphicProps} from '../utils/modern-polymorphic' +import {mergeProps} from '../utils/mergeProps' export type TextProps = PolymorphicProps< As, @@ -21,13 +22,17 @@ function Text(props: TextProps, ref: Forwarded return ( ) } diff --git a/packages/react/src/TextInputWithTokens/__snapshots__/TextInputWithTokens.test.tsx.snap b/packages/react/src/TextInputWithTokens/__snapshots__/TextInputWithTokens.test.tsx.snap index e281566982b..44c031c6f53 100644 --- a/packages/react/src/TextInputWithTokens/__snapshots__/TextInputWithTokens.test.tsx.snap +++ b/packages/react/src/TextInputWithTokens/__snapshots__/TextInputWithTokens.test.tsx.snap @@ -1088,7 +1088,7 @@ exports[`TextInputWithTokens > renders a truncated set of tokens 1`] = ` + @@ -1217,7 +1217,7 @@ exports[`TextInputWithTokens > renders a truncated set of tokens 1`] = ` +