UNPKG

@aotearoan/neon

Version:

Neon is a lightweight design library of Vue 3 components with minimal dependencies.

60 lines (59 loc) 1.78 kB
import { NeonState } from '@/model/common/state/NeonState'; /** * Defines a file drop zone. */ declare const _default: import("vue").DefineComponent<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; }; }>, { active: import("vue").Ref<boolean, boolean>; dropzone: import("vue").Ref<HTMLDivElement | null, HTMLDivElement | null>; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "files"[], "files", import("vue").PublicProps, 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; }; }>> & Readonly<{ onFiles?: ((...args: any[]) => any) | undefined; }>, { disabled: boolean; state: NeonState; circular: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default;