first commit
This commit is contained in:
24
frontend/node_modules/rc-tree-select/es/LegacyContext.d.ts
generated
vendored
Normal file
24
frontend/node_modules/rc-tree-select/es/LegacyContext.d.ts
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
import * as React from 'react';
|
||||
import type { DataEntity, IconType } from 'rc-tree/lib/interface';
|
||||
import type { LegacyDataNode, SafeKey, Key } from './interface';
|
||||
interface LegacyContextProps {
|
||||
checkable: boolean | React.ReactNode;
|
||||
checkedKeys: Key[];
|
||||
halfCheckedKeys: Key[];
|
||||
treeExpandedKeys: Key[];
|
||||
treeDefaultExpandedKeys: Key[];
|
||||
onTreeExpand: (keys: Key[]) => void;
|
||||
treeDefaultExpandAll: boolean;
|
||||
treeIcon: IconType;
|
||||
showTreeIcon: boolean;
|
||||
switcherIcon: IconType;
|
||||
treeLine: boolean;
|
||||
treeNodeFilterProp: string;
|
||||
treeLoadedKeys: Key[];
|
||||
treeMotion: any;
|
||||
loadData: (treeNode: LegacyDataNode) => Promise<unknown>;
|
||||
onTreeLoad: (loadedKeys: Key[]) => void;
|
||||
keyEntities: Record<SafeKey, DataEntity<any>>;
|
||||
}
|
||||
declare const LegacySelectContext: React.Context<LegacyContextProps>;
|
||||
export default LegacySelectContext;
|
||||
Reference in New Issue
Block a user