@opensig/opendesign
Version:
<p align="center"><img src="../docs/public/opendesign-logo-light.png"/></p> <h1 align="center">opendesign</h1> <p align="center">一个 Vue 3 组件库</p> <p align="center"><b>皮肤可定制,使用 TypeScript</b></p>
29 lines (28 loc) • 1.2 kB
TypeScript
interface UploadSelectPropsT {
draggable?: boolean;
dragLabel?: string;
dragHoverLabel?: string;
btnLabel?: string;
disabled?: boolean;
}
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: Partial<Record<string, (_: {}) => any>> & Partial<Record<string, (_: {}) => any>> & Partial<Record<string, (_: {}) => any>>;
refs: {};
rootEl: HTMLDivElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<UploadSelectPropsT, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
"to-select": () => any;
selected: (files: FileList) => any;
}, string, import('vue').PublicProps, Readonly<UploadSelectPropsT> & Readonly<{
"onTo-select"?: (() => any) | undefined;
onSelected?: ((files: FileList) => any) | undefined;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};