diff --git a/packages/react/src/components/FileUploader/FileUploaderItem.tsx b/packages/react/src/components/FileUploader/FileUploaderItem.tsx index b55f03b0667a..a4ff5b2350bb 100644 --- a/packages/react/src/components/FileUploader/FileUploaderItem.tsx +++ b/packages/react/src/components/FileUploader/FileUploaderItem.tsx @@ -83,12 +83,13 @@ function FileUploaderItem({ errorSubject, errorBody, size, + className, ...other }: FileUploaderItemProps) { const [isEllipsisApplied, setIsEllipsisApplied] = useState(false); const prefix = usePrefix(); const { current: id } = useRef(uuid || uid()); - const classes = cx(`${prefix}--file__selected-file`, { + const classes = cx(`${prefix}--file__selected-file`, className, { [`${prefix}--file__selected-file--invalid`]: invalid, [`${prefix}--file__selected-file--md`]: size === 'md', [`${prefix}--file__selected-file--sm`]: size === 'sm',