mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 01:12:37 +00:00
Refactor #5426 - For FileUpload
This commit is contained in:
parent
06a6d16337
commit
e879d1d2c8
5 changed files with 40 additions and 49 deletions
|
@ -4,10 +4,9 @@ const classes = {
|
|||
root: ({ props }) => [`p-fileupload p-fileupload-${props.mode} p-component`],
|
||||
buttonbar: 'p-fileupload-buttonbar',
|
||||
chooseButton: ({ instance, props }) => [
|
||||
'p-component p-fileupload-choose',
|
||||
'p-fileupload-choose',
|
||||
{
|
||||
'p-fileupload-choose-selected': props.mode === 'basic' && instance.hasFiles,
|
||||
'p-disabled': props.disabled,
|
||||
'p-focus': instance.focused
|
||||
}
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue