Skip to content

Commit

Permalink
Fixes #573
Browse files Browse the repository at this point in the history
  • Loading branch information
arotnov authored Sep 19, 2018
1 parent 197f8cc commit d652972
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/tree/Tree.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ interface TreeProps {
value?: any;
selectionMode?: string;
selectionKeys?: any;
onSelectionChange(e: {originalEvent: Event, value: any}): void;
onSelectionChange?(e: {originalEvent: Event, value: any}): void;
contextMenuSelectionKey?: any;
onContextMenuSelectionChange(e: {originalEvent: Event, value: any}): void;
onContextMenuSelectionChange?(e: {originalEvent: Event, value: any}): void;
expandedKeys?: any;
style?: object;
className?: string;
Expand All @@ -18,7 +18,7 @@ interface TreeProps {
loading?: boolean;
loadingIcon?: string;
dragdropScope?: string;
nodeTemplate(node: any): JSX.Element;
nodeTemplate?(node: any): JSX.Element;
onSelect?(e: {originalEvent: Event, value: TreeNode}): void;
onUnselect?(e: {originalEvent: Event, value: TreeNode}): void;
onExpand?(e: {originalEvent: Event, value: TreeNode}): void;
Expand All @@ -28,4 +28,4 @@ interface TreeProps {
onContextMenu?(e: {originalEvent: Event, value: TreeNode}): void;
}

export class Tree extends React.Component<TreeProps,any> {}
export class Tree extends React.Component<TreeProps,any> {}

0 comments on commit d652972

Please sign in to comment.