mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-20 14:50:32 +00:00
fix: style tweaks in dropzoen accept/reject modes
This commit is contained in:
@@ -238,7 +238,8 @@ export const Dropzone = (_props: DropzoneProps) => {
|
||||
className: clsx(
|
||||
styles.root,
|
||||
{
|
||||
[styles.dropzoneActive]: isDragAccept || isDragReject,
|
||||
[styles.dropzoneAccept]: isDragAccept,
|
||||
[styles.dropzoneReject]: isDragReject
|
||||
},
|
||||
classNames?.root
|
||||
),
|
||||
@@ -274,8 +275,6 @@ Dropzone.Idle = DropzoneIdle;
|
||||
Dropzone.Reject = DropzoneReject;
|
||||
|
||||
|
||||
|
||||
|
||||
type PossibleRef<T> = Ref<T> | undefined;
|
||||
|
||||
export function assignRef<T>(ref: PossibleRef<T>, value: T) {
|
||||
|
||||
Reference in New Issue
Block a user