Skip to content

Commit 0b6f964

Browse files
committed
fix: Ensure tooltip renders description
1 parent d0c3f0a commit 0b6f964

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react/src/SegmentedControl/SegmentedControlIconButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export const SegmentedControlIconButton: React.FC<React.PropsWithChildren<Segmen
9999
>
100100
<Tooltip
101101
type={description ? undefined : 'label'}
102-
text={ariaLabel}
102+
text={description ? description : ariaLabel}
103103
direction={tooltipDirection}
104104
>
105105
<SegmentedControlIconButtonStyled

0 commit comments

Comments
 (0)