@aotearoan/neon
Version:
Neon is a lightweight design library of Vue 3 components with minimal dependencies.
60 lines (59 loc) • 1.71 kB
TypeScript
import { NeonState } from '@/common/enums/NeonState';
/**
* Defines a file drop zone.
*/
declare const _default: import("vue").DefineComponent<{
/**
* The state of the drop zone, used to indicate loading. ACCEPTS <em>Ready</em> and <em>Loading</em> states ONLY.
*/
state: {
type: () => NeonState;
default: () => NeonState;
};
/**
* The disabled state of the drop zone
*/
disabled: {
type: BooleanConstructor;
default: boolean;
};
/**
* Display the drop zone as a circle instead of square
*/
circular: {
type: BooleanConstructor;
default: boolean;
};
}, {
active: import("vue").Ref<boolean>;
dropzone: import("vue").Ref<HTMLDivElement | null>;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "files"[], "files", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
/**
* The state of the drop zone, used to indicate loading. ACCEPTS <em>Ready</em> and <em>Loading</em> states ONLY.
*/
state: {
type: () => NeonState;
default: () => NeonState;
};
/**
* The disabled state of the drop zone
*/
disabled: {
type: BooleanConstructor;
default: boolean;
};
/**
* Display the drop zone as a circle instead of square
*/
circular: {
type: BooleanConstructor;
default: boolean;
};
}>> & {
onFiles?: ((...args: any[]) => any) | undefined;
}, {
disabled: boolean;
circular: boolean;
state: NeonState;
}, {}>;
export default _default;