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

Co-authored-by: suweite <weite.su@infinigo.cn>
pull/7335/head
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
1 changed files with 1 additions and 0 deletions

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)`]: {