Skip to content

Commit

Permalink
Merge pull request #6286 from primefaces/6142-core-unstyled-property-…
Browse files Browse the repository at this point in the history
…does-not-inherit-to-children

6142 Unstyled prop inherited to child components
  • Loading branch information
nitrogenous authored Apr 2, 2024
2 parents 2d08fb7 + fbb1735 commit 0a5071c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/lib/fileupload/FileUpload.js
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,7 @@ export const FileUpload = React.memo(
disabled={disabled}
pt={ptm('removeButton')}
__parentMetadata={{ parent: metaData }}
unstyled={isUnstyled()}
/>
</div>
);
Expand Down Expand Up @@ -584,6 +585,7 @@ export const FileUpload = React.memo(
className={uploadOptions.className}
pt={ptm('uploadButton')}
__parentMetadata={{ parent: metaData }}
unstyled={isUnstyled()}
/>
);
cancelButton = (
Expand All @@ -598,6 +600,7 @@ export const FileUpload = React.memo(
className={cancelOptions.className}
pt={ptm('cancelButton')}
__parentMetadata={{ parent: metaData }}
unstyled={isUnstyled()}
/>
);
}
Expand Down

0 comments on commit 0a5071c

Please sign in to comment.