Skip to content

Commit c8d8a1f

Browse files
mortalYoungmumiao
authored andcommitted
fix: update types
1 parent eb93979 commit c8d8a1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/tree/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export interface ITreeProps {
6464
expandKeys?: UniqueId[];
6565
loadedKeys?: string[];
6666
activeKey?: UniqueId;
67-
onExpand?: (expandedKeys: React.Key[], node: ITreeNodeItemProps) => void;
67+
onExpand?: (expandedKeys: UniqueId[], node: ITreeNodeItemProps) => void;
6868
onSelect?: (node: ITreeNodeItemProps, isUpdate?) => void;
6969
onTreeClick?: () => void;
7070
renderTitle?: (

0 commit comments

Comments
 (0)