ant-design-x-vue-next
Version:
Ant Design X for Vue — community continuation aligned with @ant-design/x
40 lines (39 loc) • 1.46 kB
TypeScript
import type { FolderProps, FolderTreeData } from './interface';
type __VLS_Props = {
treeData: FolderTreeData[];
directoryIcons?: FolderProps['directoryIcons'];
selectedKeys?: string[];
expandedKeys?: string[];
onSelect?: (keys: string[], info: any) => void;
onExpand?: (keys: string[]) => void;
showLine?: boolean;
defaultExpandAll?: boolean;
className?: string;
classNames?: FolderProps['classNames'];
styles?: FolderProps['styles'];
style?: FolderProps['style'];
directoryTitle?: FolderProps['directoryTitle'];
prefixCls?: string;
contextMenu?: FolderProps['contextMenu'];
onRightClick?: FolderProps['onRightClick'];
};
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
select: (keys: string[], info: any) => any;
expand: (keys: string[]) => any;
rightClick: (info: {
event: MouseEvent;
node: any;
}) => any;
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
onSelect?: (keys: string[], info: any) => any;
onExpand?: (keys: string[]) => any;
onRightClick?: (info: {
event: MouseEvent;
node: any;
}) => any;
}>, {
selectedKeys: string[];
showLine: boolean;
defaultExpandAll: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
export default _default;