fix(segmented): title property in segmented component slot not effective (#7302)

Co-authored-by: suweite <weite.su@infinigo.cn>
This commit is contained in:
Weite Su 2024-01-30 12:04:24 +08:00 committed by GitHub
parent 9cc73011c5
commit 7afb7ce465
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -99,6 +99,7 @@ const genSegmentedStyle: GenerateStyle<SegmentedToken> = (token: SegmentedToken)
insetInlineStart: 0,
borderRadius: 'inherit',
transition: `background-color ${token.motionDurationMid}`,
pointerEvents: 'none',
},
[`&:hover:not(${componentCls}-item-selected):not(${componentCls}-item-disabled)`]: {