ant-design-x-vue-next
Version:
Ant Design X for Vue — community continuation aligned with @ant-design/x
38 lines (37 loc) • 1.44 kB
TypeScript
import type { FolderProps, FolderSlots, FolderTreeData } from './interface';
type __VLS_Props = {
prefixCls?: string;
style?: FolderProps['style'];
classNames?: FolderProps['classNames'];
styles?: FolderProps['styles'];
selectedFile?: string[] | null;
previewRender?: FolderProps['previewRender'];
fileContent?: string;
loading?: boolean;
previewTitle?: FolderProps['previewTitle'];
getFileNode?: (path: string[]) => {
title: FolderTreeData['title'];
path: string;
content?: string;
} | undefined;
emptyRender?: FolderProps['emptyRender'];
};
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: Readonly<FolderSlots> & FolderSlots;
refs: {};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
loading: boolean;
selectedFile: string[] | null;
fileContent: string;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};