feat: 在分支条件时允许给 dropdown-button 添加类名 (#5733)

This commit is contained in:
sheeepli 2022-11-25 13:55:50 +08:00 committed by GitHub
parent fe40e58b4f
commit fbccd04ab0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1348,7 +1348,8 @@ export default class ComboControl extends React.Component<ComboProps> {
label: __(addButtonText || 'add'),
level: 'info',
size: 'sm',
closeOnClick: true
closeOnClick: true,
btnClassName: addButtonClassName
},
{
buttons: conditions?.map(item => ({