mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Removed className prop from ImageUpload
refs https://github.com/TryGhost/Team/issues/3318
This commit is contained in:
parent
e9caf73175
commit
f5e81c9b16
1 changed files with 1 additions and 3 deletions
|
@ -14,7 +14,6 @@ interface ImageUploadProps {
|
|||
deleteButtonContent?: React.ReactNode;
|
||||
onUpload: (file: File) => void;
|
||||
onDelete: () => void;
|
||||
className?: string;
|
||||
}
|
||||
|
||||
const ImageUpload: React.FC<ImageUploadProps> = ({
|
||||
|
@ -28,8 +27,7 @@ const ImageUpload: React.FC<ImageUploadProps> = ({
|
|||
deleteButtonClassName = 'invisible absolute right-4 top-4 flex h-8 w-8 cursor-pointer items-center justify-center rounded bg-[rgba(0,0,0,0.75)] text-white hover:bg-black group-hover:!visible',
|
||||
deleteButtonContent = <Icon color='white' name='trash' size='sm' />,
|
||||
onUpload,
|
||||
onDelete,
|
||||
className
|
||||
onDelete
|
||||
}) => {
|
||||
if (imageURL) {
|
||||
return (
|
||||
|
|
Loading…
Add table
Reference in a new issue