fix: DatePicker prev/next buttons should be hidden when value is null (#52327)

This commit is contained in:
afc163 2025-01-10 16:23:38 +08:00 committed by GitHub
parent 5216ad875b
commit e8cf2acf8e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -265,6 +265,10 @@ export const genPanelStyle = (token: SharedPickerToken): CSSObject => {
display: 'inline-flex',
alignItems: 'center',
justifyContent: 'center',
'&:empty': {
display: 'none',
},
},
'> button': {