Skip to content

Commit 5cd9581

Browse files
authored
fix: truncate text in S2 ActionButton (#6919)
1 parent d503a29 commit 5cd9581

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/@react-spectrum/s2/src/ActionButton.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111
*/
1212

1313
import {baseColor, fontRelative, style} from '../style/spectrum-theme' with { type: 'macro' };
14-
import {ButtonProps, ButtonRenderProps, ContextValue, OverlayTriggerStateContext, Provider, Button as RACButton, Text} from 'react-aria-components';
14+
import {ButtonProps, ButtonRenderProps, ContextValue, OverlayTriggerStateContext, Provider, Button as RACButton} from 'react-aria-components';
1515
import {centerBaseline} from './CenterBaseline';
1616
import {createContext, forwardRef, ReactNode, useContext} from 'react';
1717
import {FocusableRef, FocusableRefValue} from '@react-types/shared';
1818
import {focusRing, getAllowedOverrides, StyleProps} from './style-utils' with { type: 'macro' };
1919
import {IconContext} from './Icon';
2020
import {pressScale} from './pressScale';
21-
import {TextContext} from './Content';
21+
import {Text, TextContext} from './Content';
2222
import {useFocusableRef} from '@react-spectrum/utils';
2323
import {useSpectrumContextProps} from './useSpectrumContextProps';
2424

0 commit comments

Comments
 (0)