mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-25 15:55:48 +00:00
chore(FE-188): updateDropFileInput component
This commit is contained in:
@@ -106,6 +106,7 @@ const DropFileInput: React.FC<DropFileInputProps> = ({
|
|||||||
'aria-disabled': isDisabled,
|
'aria-disabled': isDisabled,
|
||||||
className: cn(
|
className: cn(
|
||||||
'dropzone w-full px-4 py-2 border border-dashed border-gray-300 rounded cursor-pointer transition-all',
|
'dropzone w-full px-4 py-2 border border-dashed border-gray-300 rounded cursor-pointer transition-all',
|
||||||
|
'hover:border-primary hover:bg-primary/10',
|
||||||
{
|
{
|
||||||
'border-success bg-success/10': isDragAccept,
|
'border-success bg-success/10': isDragAccept,
|
||||||
'border-error bg-error/10': isDragReject || isError,
|
'border-error bg-error/10': isDragReject || isError,
|
||||||
|
|||||||
Reference in New Issue
Block a user