Skip to content

Commit 5bb56d7

Browse files
committed
Add scrollToId to TreeContainer interface
1 parent 4da5271 commit 5bb56d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ export interface TreeProps {
3535
onChange: (nodes: Node[]) => void;
3636
children: (props: RendererProps) => JSX.Element
3737
nodeMarginLeft?: number;
38+
scrollToId?: number;
3839
}
3940

4041
export default class Tree extends React.Component<TreeProps> {}

0 commit comments

Comments
 (0)